[[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-set-version"
path = "src/bin/set-version/main.rs"
required-features = ["set-version"]
[[bin]]
name = "cargo-upgrade"
path = "src/bin/upgrade/main.rs"
required-features = ["upgrade"]
[dependencies.anyhow]
version = "1.0"
[dependencies.cargo_metadata]
version = "0.15.4"
[dependencies.clap]
features = ["derive", "wrap_help"]
optional = true
version = "4.4.2"
[dependencies.clap-cargo]
version = "0.12.0"
[dependencies.concolor-control]
default-features = false
version = "0.0.7"
[dependencies.dunce]
version = "1.0"
[dependencies.env_proxy]
version = "0.4.1"
[dependencies.hex]
version = "0.4.3"
[dependencies.home]
version = "0.5.5"
[dependencies.indexmap]
version = "1"
[dependencies.pathdiff]
version = "0.2"
[dependencies.regex]
version = "1.9.4"
[dependencies.semver]
features = ["serde"]
version = "1.0.18"
[dependencies.serde]
version = "1.0.188"
[dependencies.serde_derive]
version = "1.0.188"
[dependencies.serde_json]
version = "1.0.105"
[dependencies.subprocess]
version = "0.2.9"
[dependencies.tame-index]
features = ["sparse", "native-certs", "local"]
version = "0.13"
[dependencies.termcolor]
version = "1.2.0"
[dependencies.toml]
version = "0.7.6"
[dependencies.toml_edit]
version = "0.19.14"
[dependencies.url]
version = "2.4.0"
[dev-dependencies.assert_cmd]
features = ["color-auto"]
version = "2.0.12"
[dev-dependencies.assert_fs]
features = ["color-auto"]
version = "1.0.13"
[dev-dependencies.cargo-test-macro]
version = "0.3"
[dev-dependencies.cargo-test-support]
version = "0.3"
[dev-dependencies.predicates]
features = ["color"]
version = "3.0.3"
[dev-dependencies.snapbox]
features = ["cmd", "path"]
version = "0.6.9"
[dev-dependencies.trycmd]
version = "0.14.17"
[dev-dependencies.url]
version = "2.4.0"
[features]
add = ["cli"]
cli = ["color", "clap"]
color = ["concolor-control/auto"]
default = ["add", "rm", "upgrade", "set-version"]
rm = ["cli"]
set-version = ["cli"]
test-external-apis = []
upgrade = ["cli"]
[lib]
name = "cargo_edit"
path = "src/lib.rs"
[package]
authors = ["Without Boats <lee@libertad.ucsd.edu>", "Pascal Hertleif <killercup@gmail.com>", "Sebastian Garrido <sebasgarcep@gmail.com>", "Jonas Platte <mail@jonasplatte.de>", "Benjamin Gill <git@bgill.eu>", "Andronik Ordian <write@reusable.software>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools", "development-tools::cargo-plugins"]
description = "Cargo commands for modifying a `Cargo.toml` file.."
documentation = "https://github.com/killercup/cargo-edit/blob/master/README.md#available-subcommands"
edition = "2021"
homepage = "https://github.com/killercup/cargo-edit"
keywords = ["cargo", "cargo-subcommand", "cli", "dependencies", "crates"]
license = "Apache-2.0 OR MIT"
name = "cargo-edit"
readme = "README.md"
repository = "https://github.com/killercup/cargo-edit"
version = "0.13.0"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{date}}"
search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
<!-- next-header -->
## Unreleased - ReleaseDate
"""
search = "<!-- next-header -->"
[[test]]
name = "cargo-set-version"
path = "tests/cargo-set-version/main.rs"
[[test]]
name = "cargo-upgrade"
path = "tests/cargo-upgrade/main.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"