Skip to content

Commit 1c43618

Browse files
authored
Move dependencies to workspace for vm crate (#7789)
* Add dependencies from `vm` crate to workspace * Declare dependencies as workspace = true
1 parent 22d4f43 commit 1c43618

2 files changed

Lines changed: 24 additions & 12 deletions

File tree

‎Cargo.toml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ bitflags = "2.11.0"
186186
bitflagset = "0.0.3"
187187
bstr = "1"
188188
bzip2 = "0.6"
189+
caseless = "0.2.2"
189190
chrono = { version = "0.4.44", default-features = false, features = ["clock", "oldtime", "std"] }
190191
constant_time_eq = "0.4"
191192
cranelift = "0.131.0"
@@ -198,12 +199,16 @@ csv-core = "0.1.11"
198199
digest = "0.10.7"
199200
dns-lookup = "3.0"
200201
dyn-clone = "1.0.10"
202+
exitcode = "1.1.2"
203+
errno = "0.3"
201204
flame = "0.2.2"
205+
flamer = "0.5"
202206
flate2 = { version = "1.1.9", default-features = false }
203207
foreign-types-shared = "0.3.1"
204208
gethostname = "1.0.2"
205209
getrandom = { version = "0.3", features = ["std"] }
206210
glob = "0.3"
211+
half = "2"
207212
hex = "0.4.3"
208213
hexf-parse = "0.2.1"
209214
hmac = "0.12"
@@ -215,6 +220,7 @@ junction = "1.4.2"
215220
lexical-parse-float = "1.0.6"
216221
libc = "0.2.186"
217222
libffi = "5"
223+
libloading = "0.9"
218224
liblzma = "0.4"
219225
liblzma-sys = "0.4"
220226
libsqlite3-sys = "0.37"
@@ -234,6 +240,7 @@ mt19937 = "<=3.2" # upgrade it once rand is upgraded
234240
num-complex = "0.4.6"
235241
num-integer = "0.1.46"
236242
num-traits = "0.2"
243+
num_cpus = "1.17.0"
237244
num_enum = { version = "0.7", default-features = false }
238245
oid-registry = "0.8"
239246
openssl = "0.10.78"
@@ -247,11 +254,13 @@ pbkdf2 = "0.12"
247254
pem-rfc7468 = "1.0"
248255
pkcs8 = "0.10"
249256
proc-macro2 = "1.0.105"
257+
psm = "0.1"
250258
pymath = { version = "0.2.0", features = ["mul_add", "malachite-bigint", "complex"] }
251259
quote = "1.0.45"
252260
radium = "1.1.1"
253261
rand = "0.9"
254262
rand_core = { version = "0.9", features = ["os_rng"] }
263+
result-like = "0.5.0"
255264
rustix = { version = "1.1", features = ["event"] }
256265
rustls = { version = "0.23.39", default-features = false }
257266
rustls-native-certs = "0.8"
@@ -276,18 +285,21 @@ tcl-sys = { git = "https://github.com/arihant2math/tkinter.git", tag = "v0.2.0"
276285
textwrap = { version = "0.16.2", default-features = false }
277286
termios = "0.3.3"
278287
thiserror = "2.0"
288+
timsort = "0.1.2"
279289
tk-sys = { git = "https://github.com/arihant2math/tkinter.git", tag = "v0.2.0" }
280290
icu_properties = "2"
281291
icu_normalizer = "2"
282292
uuid = "1.23.1"
283293
ucd = "0.1.1"
294+
uname = "0.1.1"
284295
unicode-casing = "0.1.1"
285296
unic-ucd-age = "0.9.0"
286297
unicode_names2 = "2.0.0"
287298
widestring = "1.2.0"
288299
windows-sys = "0.61.2"
289300
wasm-bindgen = "0.2.106"
290301
webpki-roots = "1.0"
302+
which = "8"
291303
x509-cert = "0.2.5"
292304
x509-parser = "0.18"
293305
xml = "1.2"

‎crates/vm/Cargo.toml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ strum_macros = { workspace = true }
7373
thiserror = { workspace = true }
7474
memchr = { workspace = true }
7575

76-
caseless = "0.2.2"
77-
flamer = { version = "0.5", optional = true }
78-
half = "2"
79-
psm = "0.1"
76+
caseless = { workspace = true }
77+
flamer = { workspace = true, optional = true }
78+
half = { workspace = true }
79+
psm = { workspace = true }
8080
optional = { workspace = true }
81-
result-like = "0.5.0"
82-
timsort = "0.1.2"
81+
result-like = { workspace = true }
82+
timsort = { workspace = true }
8383

8484
## unicode stuff
8585
# TODO: use unic for this; needed for title case:
@@ -90,21 +90,21 @@ icu_properties = { workspace = true }
9090
[target.'cfg(unix)'.dependencies]
9191
rustix = { workspace = true }
9292
nix = { workspace = true }
93-
exitcode = "1.1.2"
94-
uname = "0.1.1"
93+
exitcode = { workspace = true }
94+
uname = { workspace = true }
9595

9696
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
9797
rustyline = { workspace = true }
98-
which = "8"
99-
errno = "0.3"
98+
which = { workspace = true }
99+
errno = { workspace = true }
100100
widestring = { workspace = true }
101101

102102
[target.'cfg(all(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"), not(any(target_env = "musl", target_env = "sgx"))))'.dependencies]
103103
libffi = { workspace = true, features = ["system"] }
104-
libloading = "0.9"
104+
libloading = { workspace = true }
105105

106106
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies]
107-
num_cpus = "1.17.0"
107+
num_cpus = { workspace = true }
108108

109109
[target.'cfg(windows)'.dependencies]
110110
junction = { workspace = true }

0 commit comments

Comments
 (0)