@@ -10,6 +10,43 @@ exclude = [
1010 " target/" , # exclude bench testing
1111]
1212
13+ [workspace .dependencies ]
14+ anyhow = " 1.0.47"
15+ cargo = { path = " " }
16+ cargo-credential = { version = " 0.2.0" , path = " credential/cargo-credential" }
17+ cargo-test-macro = { path = " crates/cargo-test-macro" }
18+ cargo-util = { version = " 0.2.4" , path = " crates/cargo-util" }
19+ clap = " 4.2.0"
20+ crates-io = { version = " 0.36.1" , path = " crates/crates-io" }
21+ curl = " 0.4.44"
22+ env_logger = " 0.10.0"
23+ filetime = " 0.2.9"
24+ flate2 = { version = " 1.0.3" , default-features = false , features = [" zlib" ] }
25+ git2 = " 0.17.0"
26+ glob = " 0.3.0"
27+ hex = " 0.4.2"
28+ is-terminal = " 0.4.4"
29+ itertools = " 0.10.0"
30+ jobserver = " 0.1.26"
31+ lazy_static = " 1.3.0"
32+ libc = " 0.2.88"
33+ log = " 0.4.17"
34+ pasetors = { version = " 0.6.4" , features = [" v3" , " paserk" , " std" , " serde" ] }
35+ same-file = " 1.0.6"
36+ serde = " 1.0.123"
37+ serde_json = " 1.0.59"
38+ shell-escape = " 0.1.4"
39+ snapbox = { version = " 0.4.0" , features = [" diff" , " path" ] }
40+ tar = { version = " 0.4.38" , default-features = false }
41+ tempfile = " 3.1.0"
42+ termcolor = " 1.1.2"
43+ time = { version = " 0.3" , features = [" parsing" , " formatting" ] }
44+ toml = " 0.7.0"
45+ toml_edit = " 0.19.0"
46+ url = " 2.2.2"
47+ walkdir = " 2.3.1"
48+ windows-sys = " 0.48"
49+
1350[package ]
1451name = " cargo"
1552version = " 0.72.0"
@@ -28,65 +65,65 @@ name = "cargo"
2865path = " src/cargo/lib.rs"
2966
3067[dependencies ]
31- anyhow = " 1.0.47 "
68+ anyhow.workspace = true
3269base64 = " 0.21.0"
3370bytesize = " 1.0"
3471cargo-platform = { path = " crates/cargo-platform" , version = " 0.1.3" }
35- cargo-util = { path = " crates/cargo-util " , version = " 0.2.4 " }
36- clap = { version = " 4.2.0 " , features = [" wrap_help" ] }
37- crates-io = { path = " crates/crates-io " , version = " 0.36.1 " }
38- curl = { version = " 0.4.44 " , features = [" http2" ] }
72+ cargo-util.workspace = true
73+ clap = { workspace = true , features = [" wrap_help" ] }
74+ crates-io.workspace = true
75+ curl = { workspace = true , features = [" http2" ] }
3976curl-sys = " 0.4.61"
40- env_logger = " 0.10.0 "
41- filetime = " 0.2.9 "
42- flate2 = { version = " 1.0.3 " , default-features = false , features = [ " zlib " ] }
43- git2 = " 0.17.0 "
77+ env_logger.workspace = true
78+ filetime.workspace = true
79+ flate2.workspace = true
80+ git2.workspace = true
4481git2-curl = " 0.18.0"
4582gix = { version = " 0.39.0" , default-features = false , features = [" blocking-http-transport-curl" , " progress-tree" ] }
4683gix-features-for-configuration-only = { version = " 0.28.0" , package = " gix-features" , features = [ " parallel" ] }
47- glob = " 0.3.0 "
48- hex = " 0.4 "
84+ glob.workspace = true
85+ hex.workspace = true
4986hmac = " 0.12.1"
5087home = " 0.5.5"
5188http-auth = { version = " 0.1.6" , default-features = false }
5289humantime = " 2.0.0"
5390ignore = " 0.4.7"
5491im-rc = " 15.0.0"
5592indexmap = " 1"
56- is-terminal = " 0.4.4 "
57- itertools = " 0.10.0 "
58- jobserver = " 0.1.26 "
59- lazy_static = " 1.2.0 "
93+ is-terminal.workspace = true
94+ itertools.workspace = true
95+ jobserver.workspace = true
96+ lazy_static.workspace = true
6097lazycell = " 1.2.0"
61- libc = " 0.2 "
98+ libc.workspace = true
6299libgit2-sys = " 0.15.0"
63- log = " 0.4.6 "
100+ log.workspace = true
64101memchr = " 2.1.3"
65102opener = " 0.5"
66103os_info = " 3.5.0"
67- pasetors = { version = " 0.6.4 " , features = [ " v3 " , " paserk " , " std " , " serde " ] }
104+ pasetors.workspace = true
68105pathdiff = " 0.2"
69106pretty_env_logger = { version = " 0.4" , optional = true }
70107rand = " 0.8.5"
71108rustfix = " 0.6.0"
72109semver = { version = " 1.0.3" , features = [" serde" ] }
73- serde = { version = " 1.0.123 " , features = [" derive" ] }
110+ serde = { workspace = true , features = [" derive" ] }
74111serde-value = " 0.7.0"
75112serde_ignored = " 0.1.0"
76- serde_json = { version = " 1.0.30 " , features = [" raw_value" ] }
113+ serde_json = { workspace = true , features = [" raw_value" ] }
77114sha1 = " 0.10.5"
78- shell-escape = " 0.1.4 "
115+ shell-escape.workspace = true
79116strip-ansi-escapes = " 0.1.0"
80- tar = { version = " 0.4.38 " , default-features = false }
81- tempfile = " 3.0 "
82- termcolor = " 1.1 "
83- time = { version = " 0.3 " , features = [ " parsing " , " formatting " ]}
84- toml = " 0.7.0 "
85- toml_edit = " 0.19.0 "
117+ tar.workspace = true
118+ tempfile.workspace = true
119+ termcolor.workspace = true
120+ time.workspace = true
121+ toml.workspace = true
122+ toml_edit.workspace = true
86123unicode-width = " 0.1.5"
87124unicode-xid = " 0.2.0"
88- url = " 2.2.2 "
89- walkdir = " 2.2 "
125+ url.workspace = true
126+ walkdir.workspace = true
90127
91128[target .'cfg(not(windows))' .dependencies ]
92129openssl = { version = " 0.10.50" , optional = true }
@@ -95,7 +132,7 @@ openssl = { version = "0.10.50", optional = true }
95132fwdansi = " 1.1.0"
96133
97134[target .'cfg(windows)' .dependencies .windows-sys ]
98- version = " 0.48 "
135+ workspace = true
99136features = [
100137 " Win32_Foundation" ,
101138 " Win32_Storage_FileSystem" ,
@@ -108,14 +145,14 @@ features = [
108145]
109146
110147[dev-dependencies ]
111- cargo-test-macro = { path = " crates/cargo-test-macro " }
148+ cargo-test-macro.workspace = true
112149cargo-test-support = { path = " crates/cargo-test-support" }
113- same-file = " 1.0.6 "
114- snapbox = { version = " 0.4.0 " , features = [ " diff " , " path " ] }
150+ same-file.workspace = true
151+ snapbox.workspace = true
115152
116153[build-dependencies ]
117- flate2 = { version = " 1.0.3 " , default-features = false , features = [ " zlib " ] }
118- tar = { version = " 0.4.38 " , default-features = false }
154+ flate2.workspace = true
155+ tar.workspace = true
119156
120157[[bin ]]
121158name = " cargo"
0 commit comments