mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 23:56:00 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/cargo-remove
Normal file
21
tldr/cargo-remove
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cargo remove
|
||||
|
||||
> Remove dependencies from a Rust project's `Cargo.toml` manifest.
|
||||
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-remove.html>.
|
||||
|
||||
- Remove a dependency from the current project:
|
||||
|
||||
`cargo remove {{dependency}}`
|
||||
|
||||
- Remove a development or build dependency:
|
||||
|
||||
`cargo remove --{{dev|build}} {{dependency}}`
|
||||
|
||||
- Remove a dependency of the given target platform:
|
||||
|
||||
`cargo remove --target {{target}} {{dependency}}`
|
||||
Reference in New Issue
Block a user