cargo remove

Remove dependencies from a Rust project's Cargo.toml manifest. More information: https://doc.rust-lang.org/cargo/commands/cargo-remove.html.

cargo remove {{dependency}}

cargo remove --{{dev|build}} {{dependency}}

cargo remove --target {{target}} {{dependency}}