Skip to content

Commit

Permalink
Enable auto-initialize of pyo3 to fix `cargo test
Browse files Browse the repository at this point in the history
--no-default-features`
  • Loading branch information
messense committed Mar 22, 2022
1 parent 1d13e09 commit e49a768
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ path = "../../tokenizers"

[dev-dependencies]
tempfile = "3.1"
pyo3 = { version = "0.16.2", features = ["auto-initialize"] }

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

0 comments on commit e49a768

Please sign in to comment.