-
Notifications
You must be signed in to change notification settings - Fork 149
/
Cargo.toml
118 lines (108 loc) · 3.09 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
[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>",
]
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.13.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"
# Use this with default-features set to "true" (implicitly) so that reqwest,
# a transitive dependency, is compiled with support for both webpki
# certificates AND native certificates. We want support for both to be
# present, and then to let the user _select_ through configuration which
# one they want to be used.
tame-index = { version = "0.13", features = ["sparse", "native-certs", "local"] }
dunce = "1.0"
env_proxy = "0.4.1"
anyhow = "1.0"
hex = "0.4.3"
home = "0.5.5"
regex = "1.9.4"
serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.105"
clap = { version = "4.4.2", features = ["derive", "wrap_help"], optional = true }
clap-cargo = "0.12.0"
subprocess = "0.2.9"
termcolor = "1.2.0"
toml = "0.7.6"
toml_edit = "0.19.14"
indexmap = "1"
url = "2.4.0"
pathdiff = "0.2"
[dependencies.semver]
features = ["serde"]
version = "1.0.18"
[dev-dependencies]
predicates = { version = "3.0.3", features = ["color"] }
assert_cmd = { version = "2.0.12", features = ["color-auto"] }
assert_fs = { version = "1.0.13", features = ["color-auto"] }
trycmd = "0.14.17"
snapbox = { version = "0.6.9", features = ["cmd", "path"] }
cargo-test-macro = "0.3"
cargo-test-support = "0.3"
url = "2.4.0"
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
[features]
default = [
"add",
"rm",
"upgrade",
"set-version",
]
add = ["cli"]
rm = ["cli"]
upgrade = ["cli"]
set-version = ["cli"]
cli = ["color", "clap"]
color = ["concolor-control/auto"]
test-external-apis = []