Skip to content

Commit 747b92c

Browse files
committed
feat: update pyo3 dependency configuration in Cargo.toml
1 parent a898e45 commit 747b92c

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ version = "0.1.0"
2121

2222
[workspace.dependencies]
2323
num-bigint = "0.4.6"
24-
pyo3 = { version = "0.25.1", features = ["auto-initialize"] }
24+
pyo3 = "0.25.1"
2525
pythonize = "0.25.0"
2626
serde_json = { version = "1.0.145", features = ["arbitrary_precision"] }
2727
saphyr = "0.0.6"

rust/python-bindings/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ tstring-syntax = { version = "0.1.0", path = "../tstring-core-rs" }
2929
toml = { workspace = true }
3030
tstring-toml = { version = "0.1.0", path = "../toml-tstring-rs" }
3131
tstring-yaml = { version = "0.1.0", path = "../yaml-tstring-rs" }
32+
33+
[dev-dependencies]
34+
pyo3 = { workspace = true, features = ["auto-initialize"] }

rust/tstring-pyo3-bindings/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tstring-yaml = { version = "0.1.0", path = "../yaml-tstring-rs" }
2323

2424
[dev-dependencies]
2525
criterion = "0.5.1"
26+
pyo3 = { workspace = true, features = ["auto-initialize"] }
2627

2728
[[bench]]
2829
name = "render_paths"

rust/yaml-pyo3-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rust-version.workspace = true
1111
version.workspace = true
1212

1313
[dependencies]
14-
pyo3 = { workspace = true }
14+
pyo3 = { workspace = true, features = ["auto-initialize"] }
1515
saphyr = { workspace = true }
1616
tstring-pyo3-bindings = { version = "0.1.0", path = "../tstring-pyo3-bindings" }
1717
tstring-yaml = { version = "0.1.0", path = "../yaml-tstring-rs" }

0 commit comments

Comments
 (0)