Skip to content

Commit 51e7200

Browse files
authored
Move dependencies to workspace for jit crate (RustPython#7720)
* Add dependencies from `jit` crate to main workspace * Declare dependencies as workspace = true
1 parent d7a319d commit 51e7200

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,16 @@ ruff_source_file = { package = "rustpython-ruff_source_file", version = "0.15.8"
173173
der = { version = "0.8", features = ["alloc", "oid", "pem", "zeroize"] }
174174
phf = { version = "0.13.1", default-features = false, features = ["macros"]}
175175
ahash = "0.8.12"
176+
approx = "0.5.1"
176177
ascii = "1.1"
177178
bitflags = "2.11.0"
178179
bitflagset = "0.0.3"
179180
bstr = "1"
180181
chrono = { version = "0.4.44", default-features = false, features = ["clock", "oldtime", "std"] }
181182
constant_time_eq = "0.4"
183+
cranelift = "0.131.0"
184+
cranelift-jit = "0.131.0"
185+
cranelift-module = "0.131.0"
182186
criterion = { version = "0.8", features = ["html_reports"] }
183187
crossbeam-utils = "0.8.21"
184188
flame = "0.2.2"

crates/jit/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ num-traits = { workspace = true }
1717
thiserror = { workspace = true }
1818
libffi = { workspace = true }
1919

20-
cranelift = "0.131.0"
21-
cranelift-jit = "0.131.0"
22-
cranelift-module = "0.131.0"
20+
cranelift = { workspace = true }
21+
cranelift-jit = { workspace = true }
22+
cranelift-module = { workspace = true }
2323

2424
[dev-dependencies]
2525
rustpython-derive = { workspace = true }
2626
rustpython-wtf8 = { workspace = true }
2727

28-
approx = "0.5.1"
28+
approx = { workspace = true }
2929

3030
[[test]]
3131
name = "integration"

0 commit comments

Comments
 (0)