Switch to a [workspace]

https://github.com/PyO3/pyo3/issues/340
This commit is contained in:
Duncan Ogilvie
2024-12-17 15:33:13 +01:00
parent 1ae0f43fce
commit 70cfc3260a
3 changed files with 16 additions and 3 deletions
Generated
+8
View File
@@ -860,6 +860,14 @@ version = "0.12.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tests"
version = "0.0.0"
dependencies = [
"icicle-python",
"pyo3",
]
[[package]]
name = "thiserror"
version = "1.0.40"
+7 -2
View File
@@ -1,4 +1,6 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["tests"]
exclude = ["icicle-emu"]
[package]
name = "icicle-python"
@@ -9,13 +11,16 @@ edition = "2021"
name = "icicle"
crate-type = ["cdylib", "lib"]
[workspace.dependencies]
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }
[dependencies]
pyo3 = { workspace = true }
icicle-cpu = { path = "icicle-emu/icicle-cpu" }
icicle-vm = { path = "icicle-emu/icicle-vm" }
pcode = { path = "icicle-emu/sleigh/pcode" }
sleigh-runtime = { path = "icicle-emu/sleigh/sleigh-runtime" }
indexmap = "2.2.6"
pyo3 = { version = "0.23.3", features = ["indexmap", "abi3-py37"] }
target-lexicon = "0.12.7"
tracing = "*"
tracing-subscriber = "0.3.17"
+1 -1
View File
@@ -8,4 +8,4 @@ path = "tests.rs"
[dependencies]
icicle-python = { path = "..", default-features = false }
pyo3 = { version = "*" }
pyo3 = { workspace = true }