#cargo-toml #toml #cargo #sanitize #command

app cargo-sanitize

Sanitize a Cargo.toml file to remove dependencies outside of the default registry

2 unstable releases

0.2.0 Jul 7, 2024
0.1.0 Jul 5, 2024

#176 in Cargo plugins

Custom license

12KB
211 lines

cargo-sanitize

Purpose

The cargo-sanitize program removes custom paths / sources from dependencies in your Cargo.toml file (i.e. those pointing to git repositories or local paths). It is intended to provide a super lightweight version of the transformation that cargo publish does to your Cargo.toml file before publishing to crates.io. For more information on cargo-sanitize, please refer to the docs.

Dependencies

~3–14MB
~127K SLoC