fork/cargo

git clone https://git.julia.blue/fork/cargo

Weihang Lo[beta-1.87] chore: Bump cargo-util-schemas to 0.8.1 (#15402)202515849

0.88.0
8.1 KiB274 linesraw
1[workspace]
2resolver = "2"
3members = [
4  "crates/*",
5  "credential/*",
6  "benches/benchsuite",
7  "benches/capture",
8]
9exclude = [
10  "target/", # exclude bench testing
11]
12
13[workspace.package]
14rust-version = "1.83"  # MSRV:3
15edition = "2021"
16license = "MIT OR Apache-2.0"
17homepage = "https://github.com/rust-lang/cargo"
18repository = "https://github.com/rust-lang/cargo"
19
20[workspace.dependencies]
21annotate-snippets = "0.11.5"
22anstream = "0.6.18"
23anstyle = "1.0.10"
24anyhow = "1.0.95"
25base64 = "0.22.1"
26blake3 = "1.5.5"
27build-rs = { version = "0.3.0", path = "crates/build-rs" }
28cargo = { path = "" }
29cargo-credential = { version = "0.4.2", path = "credential/cargo-credential" }
30cargo-credential-libsecret = { version = "0.4.13", path = "credential/cargo-credential-libsecret" }
31cargo-credential-macos-keychain = { version = "0.4.13", path = "credential/cargo-credential-macos-keychain" }
32cargo-credential-wincred = { version = "0.4.13", path = "credential/cargo-credential-wincred" }
33cargo-platform = { path = "crates/cargo-platform", version = "0.2.0" }
34cargo-test-macro = { version = "0.4.2", path = "crates/cargo-test-macro" }
35cargo-test-support = { version = "0.7.1", path = "crates/cargo-test-support" }
36cargo-util = { version = "0.2.20", path = "crates/cargo-util" }
37cargo-util-schemas = { version = "0.8.1", path = "crates/cargo-util-schemas" }
38cargo_metadata = "0.19.1"
39clap = "4.5.28"
40clap_complete = { version = "4.5.44", features = ["unstable-dynamic"] }
41color-print = "0.3.7"
42core-foundation = { version = "0.10.0", features = ["mac_os_10_7_support"] }
43crates-io = { version = "0.40.10", path = "crates/crates-io" }
44criterion = { version = "0.5.1", features = ["html_reports"] }
45curl = "0.4.47"
46curl-sys = "0.4.79"
47filetime = "0.2.25"
48flate2 = { version = "1.0.35", default-features = false, features = ["zlib"] }
49git2 = "0.20.0"
50git2-curl = "0.21.0"
51gix = { version = "0.70.0", default-features = false, features = ["blocking-http-transport-curl", "progress-tree", "parallel", "dirwalk"] }
52glob = "0.3.2"
53handlebars = { version = "6.3.1", features = ["dir_source"] }
54hex = "0.4.3"
55hmac = "0.12.1"
56home = "0.5.11"
57http-auth = { version = "0.1.10", default-features = false }
58ignore = "0.4.23"
59im-rc = "15.1.0"
60indexmap = "2.7.1"
61itertools = "0.14.0"
62jiff = { version = "0.2.3", default-features = false, features = [ "std" ] }
63jobserver = "0.1.32"
64lazycell = "1.3.0"
65libc = "0.2.169"
66libgit2-sys = "0.18.0"
67libloading = "0.8.6"
68memchr = "2.7.4"
69miow = "0.6.0"
70opener = "0.7.2"
71openssl = "0.10.57"
72openssl-sys = "0.9.92"
73os_info = { version = "3.10.0", default-features = false }
74pasetors = { version = "0.7.2", features = ["v3", "paserk", "std", "serde"] }
75pathdiff = "0.2.3"
76percent-encoding = "2.3.1"
77pkg-config = "0.3.31"
78proptest = "1.6.0"
79pulldown-cmark = { version = "0.13.0", default-features = false, features = ["html"] }
80rand = "0.9.0"
81regex = "1.11.1"
82rusqlite = { version = "0.33.0", features = ["bundled"] }
83rustc-hash = "2.1.1"
84rustc-stable-hash = "0.1.2"
85rustfix = { version = "0.9.0", path = "crates/rustfix" }
86same-file = "1.0.6"
87schemars = "1.0.0-alpha.17"
88security-framework = "3.2.0"
89semver = { version = "1.0.25", features = ["serde"] }
90serde = "1.0.217"
91serde-untagged = "0.1.6"
92serde-value = "0.7.0"
93serde_ignored = "0.1.10"
94serde_json = "1.0.138"
95sha1 = "0.10.6"
96sha2 = "0.10.8"
97shell-escape = "0.1.5"
98similar = "2.7.0"
99supports-hyperlinks = "3.1.0"
100supports-unicode = "3.0.0"
101snapbox = { version = "0.6.21", features = ["diff", "dir", "term-svg", "regex", "json"] }
102tar = { version = "0.4.43", default-features = false }
103tempfile = "3.16.0"
104thiserror = "2.0.11"
105time = { version = "0.3.37", features = ["parsing", "formatting", "serde"] }
106toml = "0.8.20"
107toml_edit = { version = "0.22.23", features = ["serde"] }
108tracing = { version = "0.1.41", default-features = false, features = ["std"] } # be compatible with rustc_log: https://github.com/rust-lang/rust/blob/e51e98dde6a/compiler/rustc_log/Cargo.toml#L9
109tracing-chrome = "0.7.2"
110tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
111unicase = "2.8.1"
112unicode-ident = "1.0.16"
113unicode-width = "0.2.0"
114unicode-xid = "0.2.6"
115url = "2.5.4"
116varisat = "0.2.2"
117walkdir = "2.5.0"
118windows-sys = "0.59"
119
120[workspace.lints.rust]
121rust_2018_idioms = "warn" # TODO: could this be removed?
122
123[workspace.lints.rustdoc]
124private_intra_doc_links = "allow"
125
126[workspace.lints.clippy]
127all = { level = "allow", priority = -2 }
128correctness = { level = "warn", priority = -1 }
129dbg_macro = "warn"
130disallowed_methods = "warn"
131print_stderr = "warn"
132print_stdout = "warn"
133self_named_module_files = "warn"
134
135[package]
136name = "cargo"
137version = "0.88.0"
138edition.workspace = true
139license.workspace = true
140rust-version = "1.85"  # MSRV:1
141homepage = "https://doc.rust-lang.org/cargo/index.html"
142repository.workspace = true
143documentation = "https://docs.rs/cargo"
144description = """
145Cargo, a package manager for Rust.
146"""
147
148[lib]
149name = "cargo"
150path = "src/cargo/lib.rs"
151
152[dependencies]
153annotate-snippets.workspace = true
154anstream.workspace = true
155anstyle.workspace = true
156anyhow.workspace = true
157base64.workspace = true
158blake3.workspace = true
159cargo-credential.workspace = true
160cargo-platform.workspace = true
161cargo-util-schemas.workspace = true
162cargo-util.workspace = true
163clap = { workspace = true, features = ["wrap_help"] }
164clap_complete.workspace = true
165color-print.workspace = true
166crates-io.workspace = true
167curl = { workspace = true, features = ["http2"] }
168curl-sys.workspace = true
169filetime.workspace = true
170flate2.workspace = true
171git2.workspace = true
172git2-curl.workspace = true
173gix.workspace = true
174glob.workspace = true
175hex.workspace = true
176hmac.workspace = true
177home.workspace = true
178http-auth.workspace = true
179ignore.workspace = true
180im-rc.workspace = true
181indexmap.workspace = true
182itertools.workspace = true
183jiff.workspace = true
184jobserver.workspace = true
185lazycell.workspace = true
186libgit2-sys.workspace = true
187memchr.workspace = true
188opener.workspace = true
189os_info.workspace = true
190pasetors.workspace = true
191pathdiff.workspace = true
192rand.workspace = true
193regex.workspace = true
194rusqlite.workspace = true
195rustc-hash.workspace = true
196rustc-stable-hash.workspace = true
197rustfix.workspace = true
198same-file.workspace = true
199semver.workspace = true
200serde = { workspace = true, features = ["derive"] }
201serde-untagged.workspace = true
202serde_ignored.workspace = true
203serde_json = { workspace = true, features = ["raw_value"] }
204sha1.workspace = true
205shell-escape.workspace = true
206supports-hyperlinks.workspace = true
207supports-unicode.workspace = true
208tar.workspace = true
209tempfile.workspace = true
210thiserror.workspace = true
211time.workspace = true
212toml.workspace = true
213toml_edit.workspace = true
214tracing = { workspace = true, features = ["attributes"] }
215tracing-subscriber.workspace = true
216unicase.workspace = true
217unicode-width.workspace = true
218url.workspace = true
219walkdir.workspace = true
220
221[target.'cfg(target_has_atomic = "64")'.dependencies]
222tracing-chrome.workspace = true
223
224[target.'cfg(unix)'.dependencies]
225libc.workspace = true
226
227[target.'cfg(target_os = "linux")'.dependencies]
228cargo-credential-libsecret.workspace = true
229
230[target.'cfg(target_os = "macos")'.dependencies]
231cargo-credential-macos-keychain.workspace = true
232
233[target.'cfg(not(windows))'.dependencies]
234openssl = { workspace = true, optional = true }
235
236[target.'cfg(windows)'.dependencies]
237cargo-credential-wincred.workspace = true
238
239[target.'cfg(windows)'.dependencies.windows-sys]
240workspace = true
241features = [
242  "Win32_Foundation",
243  "Win32_Security",
244  "Win32_Storage_FileSystem",
245  "Win32_System_IO",
246  "Win32_System_Console",
247  "Win32_System_JobObjects",
248  "Win32_System_Threading",
249]
250
251[dev-dependencies]
252annotate-snippets = { workspace = true, features = ["testing-colors"] }
253cargo-test-support.workspace = true
254gix = { workspace = true, features = ["revision"] }
255same-file.workspace = true
256snapbox.workspace = true
257
258[build-dependencies]
259flate2.workspace = true
260tar.workspace = true
261
262[[bin]]
263name = "cargo"
264test = false
265doc = false
266
267[features]
268vendored-openssl = ["openssl/vendored"]
269vendored-libgit2 = ["libgit2-sys/vendored"]
270# This is primarily used by rust-lang/rust distributing cargo the executable.
271all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx', 'vendored-libgit2']
272
273[lints]
274workspace = true