Skip to content

Commit d60f1b3

Browse files
committed
Switch to a [workspace]
PyO3/pyo3#340
1 parent f8d047e commit d60f1b3

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1+
[workspace]
2+
members = ["tests"]
3+
exclude = ["icicle-emu"]
24

35
[package]
46
name = "icicle-python"
@@ -9,13 +11,16 @@ edition = "2021"
911
name = "icicle"
1012
crate-type = ["cdylib", "lib"]
1113

14+
[workspace.dependencies]
15+
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }
16+
1217
[dependencies]
18+
pyo3 = { workspace = true }
1319
icicle-cpu = { path = "icicle-emu/icicle-cpu" }
1420
icicle-vm = { path = "icicle-emu/icicle-vm" }
1521
pcode = { path = "icicle-emu/sleigh/pcode" }
1622
sleigh-runtime = { path = "icicle-emu/sleigh/sleigh-runtime" }
1723
indexmap = "2.2.6"
18-
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }
1924
target-lexicon = "0.12.7"
2025
tracing = "*"
2126
tracing-subscriber = "0.3.17"

tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ path = "tests.rs"
88

99
[dependencies]
1010
icicle-python = { path = "..", default-features = false }
11-
pyo3 = { version = "*" }
11+
pyo3 = { workspace = true }

0 commit comments

Comments
 (0)