@@ -10,6 +10,43 @@ exclude = [
10
10
" target/" , # exclude bench testing
11
11
]
12
12
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
+
13
50
[package ]
14
51
name = " cargo"
15
52
version = " 0.72.0"
@@ -28,65 +65,65 @@ name = "cargo"
28
65
path = " src/cargo/lib.rs"
29
66
30
67
[dependencies ]
31
- anyhow = " 1.0.47 "
68
+ anyhow.workspace = true
32
69
base64 = " 0.21.0"
33
70
bytesize = " 1.0"
34
71
cargo-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" ] }
39
76
curl-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
44
81
git2-curl = " 0.18.0"
45
82
gix = { version = " 0.39.0" , default-features = false , features = [" blocking-http-transport-curl" , " progress-tree" ] }
46
83
gix-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
49
86
hmac = " 0.12.1"
50
87
home = " 0.5.5"
51
88
http-auth = { version = " 0.1.6" , default-features = false }
52
89
humantime = " 2.0.0"
53
90
ignore = " 0.4.7"
54
91
im-rc = " 15.0.0"
55
92
indexmap = " 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
60
97
lazycell = " 1.2.0"
61
- libc = " 0.2 "
98
+ libc.workspace = true
62
99
libgit2-sys = " 0.15.0"
63
- log = " 0.4.6 "
100
+ log.workspace = true
64
101
memchr = " 2.1.3"
65
102
opener = " 0.5"
66
103
os_info = " 3.5.0"
67
- pasetors = { version = " 0.6.4 " , features = [ " v3 " , " paserk " , " std " , " serde " ] }
104
+ pasetors.workspace = true
68
105
pathdiff = " 0.2"
69
106
pretty_env_logger = { version = " 0.4" , optional = true }
70
107
rand = " 0.8.5"
71
108
rustfix = " 0.6.0"
72
109
semver = { version = " 1.0.3" , features = [" serde" ] }
73
- serde = { version = " 1.0.123 " , features = [" derive" ] }
110
+ serde = { workspace = true , features = [" derive" ] }
74
111
serde-value = " 0.7.0"
75
112
serde_ignored = " 0.1.0"
76
- serde_json = { version = " 1.0.30 " , features = [" raw_value" ] }
113
+ serde_json = { workspace = true , features = [" raw_value" ] }
77
114
sha1 = " 0.10.5"
78
- shell-escape = " 0.1.4 "
115
+ shell-escape.workspace = true
79
116
strip-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
86
123
unicode-width = " 0.1.5"
87
124
unicode-xid = " 0.2.0"
88
- url = " 2.2.2 "
89
- walkdir = " 2.2 "
125
+ url.workspace = true
126
+ walkdir.workspace = true
90
127
91
128
[target .'cfg(not(windows))' .dependencies ]
92
129
openssl = { version = " 0.10.50" , optional = true }
@@ -95,7 +132,7 @@ openssl = { version = "0.10.50", optional = true }
95
132
fwdansi = " 1.1.0"
96
133
97
134
[target .'cfg(windows)' .dependencies .windows-sys ]
98
- version = " 0.48 "
135
+ workspace = true
99
136
features = [
100
137
" Win32_Foundation" ,
101
138
" Win32_Storage_FileSystem" ,
@@ -108,14 +145,14 @@ features = [
108
145
]
109
146
110
147
[dev-dependencies ]
111
- cargo-test-macro = { path = " crates/cargo-test-macro " }
148
+ cargo-test-macro.workspace = true
112
149
cargo-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
115
152
116
153
[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
119
156
120
157
[[bin ]]
121
158
name = " cargo"
0 commit comments