-
Notifications
You must be signed in to change notification settings - Fork 153
/
Copy pathCargo.toml
119 lines (108 loc) · 3.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[package]
authors = [
"Without Boats <[email protected]>",
"Pascal Hertleif <[email protected]>",
"Sebastian Garrido <[email protected]>",
"Jonas Platte <[email protected]>",
"Benjamin Gill <[email protected]>",
"Andronik Ordian <[email protected]>",
]
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"
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.12.0"
edition = "2021"
[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="<!-- next-header -->", replace="<!-- next-header -->\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.15.4"
crates-index = "0.19.10"
dunce = "1.0"
env_proxy = "0.4.1"
anyhow = "1.0"
git2 = "0.17"
hex = "0.4.3"
home = "0.5.5"
regex = "1.8.2"
serde = "1.0.163"
serde_derive = "1.0.163"
serde_json = "1.0.96"
clap = { version = "4.3.0", features = ["derive", "wrap_help"], optional = true }
subprocess = "0.2.9"
termcolor = "1.2.0"
toml = "0.7.4"
toml_edit = "0.19.9"
indexmap = "1"
url = "2.3.1"
pathdiff = "0.2"
[dependencies.semver]
features = ["serde"]
version = "1.0.17"
[target.'cfg(any(target_arch = "x86_64", target_arch = "arm", target_arch = "x86", target_arch = "aarch64"))'.dependencies]
ureq = { version = "2.6.2", 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.6.2", default-features = false, features = ["native-tls", "json", "socks", "socks-proxy"] }
[dev-dependencies]
predicates = { version = "3.0.3", features = ["color"] }
assert_cmd = { version = "2.0.11", features = ["color-auto"] }
assert_fs = { version = "1.0.13", features = ["color-auto"] }
trycmd = "0.14.16"
snapbox = { version = "0.4.11", features = ["cmd", "path"] }
cargo-test-macro.git = "https://github.com/rust-lang/cargo"
cargo-test-support.git = "https://github.com/rust-lang/cargo"
url = "2.3.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"]