Skip to content

Commit 9e78c2f

Browse files
committed
Enable auto-initialize of pyo3 to fix `cargo test
--no-default-features`
1 parent 0ae80bd commit 9e78c2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/python/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ path = "../../tokenizers"
2626

2727
[dev-dependencies]
2828
tempfile = "3.1"
29+
pyo3 = { version = "0.16.2", features = ["auto-initialize"] }
2930

3031
[features]
3132
default = ["pyo3/extension-module"]

0 commit comments

Comments
 (0)