# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cargo-edit-9" version = "0.9.3" authors = [ "Without Boats ", "Pascal Hertleif ", "Sebastian Garrido ", "Jonas Platte ", "Benjamin Gill ", "Andronik Ordian ", ] 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`." homepage = "https://github.com/pinkforest/cargo-edit-9" documentation = "https://github.com/pinkforest/cargo-edit/blob/master/README.md#available-subcommands" readme = "README.md" keywords = [ "cargo", "cargo-subcommand", "cli", "dependencies", "crates", ] categories = [ "development-tools", "development-tools::cargo-plugins", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/pinkforest/cargo-edit" resolver = "2" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "Unreleased" replace = "{{version}}" min = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "ReleaseDate" replace = "{{date}}" min = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "" replace = """ ## Unreleased - ReleaseDate """ 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.anyhow] version = "1.0" [dependencies.cargo_metadata] version = "0.14.0" [dependencies.clap] version = "3.1" features = [ "derive", "wrap_help", ] optional = true [dependencies.concolor-control] version = "0.0.7" default-features = false [dependencies.crates-index] version = "0.19.7" [dependencies.dirs-next] version = "2.0.0" [dependencies.dunce] version = "1.0" [dependencies.env_proxy] version = "0.4.1" [dependencies.git2] version = "0.16.1" [dependencies.hex] version = "0.4.2" [dependencies.indexmap] version = "1" [dependencies.pathdiff] version = "0.2" [dependencies.regex] version = "1.7" [dependencies.semver] version = "1.0.0" features = ["serde"] [dependencies.serde] version = "1.0.116" [dependencies.serde_derive] version = "1.0.116" [dependencies.serde_json] version = "1.0.58" [dependencies.subprocess] version = "0.2.6" [dependencies.termcolor] version = "1.1.0" [dependencies.toml_edit] version = "0.13.3" features = ["easy"] [dependencies.url] version = "2.3.1" [dev-dependencies.assert_cmd] version = "2.0.2" features = ["color-auto"] [dev-dependencies.assert_fs] version = "1.0.6" features = ["color-auto"] [dev-dependencies.predicates] version = "2.0.3" features = ["color-auto"] [dev-dependencies.trycmd] version = "0.13.1" [features] add = ["cli"] cli = [ "color", "clap", ] color = ["concolor-control/auto"] default = [ "add", "rm", "upgrade", "set-version", "vendored-libgit2", ] rm = ["cli"] set-version = ["cli"] test-external-apis = [] upgrade = ["cli"] vendored-libgit2 = ["git2/vendored-libgit2"] vendored-openssl = ["git2/vendored-openssl"] [target."cfg(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\"))".dependencies.ureq] version = "2.4.0" features = [ "tls", "json", "socks", "socks-proxy", ] default-features = false [target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.native-tls] version = "^0.2" [target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.ureq] version = "2.4.0" features = [ "native-tls", "json", "socks", "socks-proxy", ] default-features = false