[package] authors = [ "Without Boats ", "Pascal Hertleif ", "Sebastian Garrido ", "Jonas Platte ", "Benjamin Gill ", "Andronik Ordian ", ] categories = [ "development-tools", "development-tools::cargo-plugins", ] description = "This extends Cargo to allow you to add and remove dependencies by modifying your `Cargo.toml` file from the command line. It contains `cargo add`, `cargo rm`, and `cargo upgrade`." documentation = "https://github.com/pinkforest/cargo-edit/blob/master/README.md#available-subcommands" homepage = "https://github.com/pinkforest/cargo-edit-9" keywords = [ "cargo", "cargo-subcommand", "cli", "dependencies", "crates", ] license = "Apache-2.0 OR MIT" name = "cargo-edit-9" readme = "README.md" repository = "https://github.com/pinkforest/cargo-edit" version = "0.9.3" edition = "2021" resolver = "2" [package.metadata.release] pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, {file="CHANGELOG.md", search="", replace="\n## Unreleased - ReleaseDate\n", exactly=1}, ] [[bin]] name = "cargo-add" path = "src/bin/add/main.rs" required-features = ["add"] [[bin]] name = "cargo-rm" path = "src/bin/rm/main.rs" required-features = ["rm"] [[bin]] name = "cargo-upgrade" path = "src/bin/upgrade/main.rs" required-features = ["upgrade"] [[bin]] name = "cargo-set-version" path = "src/bin/set-version/main.rs" required-features = ["set-version"] [dependencies] concolor-control = { version = "0.0.7", default-features = false } cargo_metadata = "0.14.0" crates-index = "0.19.7" dunce = "1.0" dirs-next = "2.0.0" env_proxy = "0.4.1" anyhow = "1.0" git2 = "0.16.1" hex = "0.4.2" regex = "1.7" serde = "1.0.116" serde_derive = "1.0.116" serde_json = "1.0.58" clap = { version = "3.1", features = ["derive", "wrap_help"], optional = true } subprocess = "0.2.6" termcolor = "1.1.0" toml_edit = { version = "0.13.3", features = ["easy"] } indexmap = "1" url = "2.3.1" pathdiff = "0.2" [dependencies.semver] features = ["serde"] version = "1.0.0" [target.'cfg(any(target_arch = "x86_64", target_arch = "arm", target_arch = "x86", target_arch = "aarch64"))'.dependencies] ureq = { version = "2.4.0", default-features = false, features = ["tls", "json", "socks", "socks-proxy"] } # if the CPU architecture is not supported by ring/rustls [target.'cfg(not(any(target_arch = "x86_64", target_arch = "arm", target_arch = "x86", target_arch = "aarch64")))'.dependencies] native-tls = "^0.2" ureq = { version = "2.4.0", default-features = false, features = ["native-tls", "json", "socks", "socks-proxy"] } [dev-dependencies] predicates = { version = "2.0.3", features = ["color-auto"] } assert_cmd = { version = "2.0.2", features = ["color-auto"] } assert_fs = { version = "1.0.6", features = ["color-auto"] } trycmd = "0.13.1" [features] default = [ "add", "rm", "upgrade", "set-version", "vendored-libgit2", ] add = ["cli"] rm = ["cli"] upgrade = ["cli"] set-version = ["cli"] cli = ["color", "clap"] color = ["concolor-control/auto"] test-external-apis = [] vendored-openssl = ["git2/vendored-openssl"] vendored-libgit2 = ["git2/vendored-libgit2"]