| Crates.io | strip_cargo_version |
| lib.rs | strip_cargo_version |
| version | 0.0.3 |
| created_at | 2021-07-07 17:25:40.998498+00 |
| updated_at | 2021-07-07 23:08:50.982998+00 |
| description | Strip the version information from the Cargo manifests of your crates |
| homepage | |
| repository | https://github.com/hulthe/strip_cargo_version |
| max_upload_size | |
| id | 419963 |
| size | 25,491 |
A small hacky utility for setting the version of a Rust crate to 0.0.0.
I use this for optimising build-times in Docker, avoiding having to recompile dependencies when bumping the crate version.
It currently works by simply setting package.version in Cargo.toml, as well as setting
package.<name>.version in Cargo.lock (where <name> is the package.name value in Cargo.toml).
If the Cargo.toml contains a workspace, it will strip workspace.members as well.