mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-04 10:49:55 +00:00
Fix unexpected pyo3 dependency propagation
This commit is contained in:
parent
2c9d66f9f7
commit
da4046d3b1
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ fold = []
|
|||
unparse = ["rustpython-literal"]
|
||||
visitor = []
|
||||
all-nodes-with-ranges = []
|
||||
pyo3 = ["dep:pyo3", "num-complex", "once_cell"]
|
||||
|
||||
[dependencies]
|
||||
rustpython-parser-core = { workspace = true }
|
||||
|
@ -23,6 +24,6 @@ rustpython-literal = { workspace = true, optional = true }
|
|||
is-macro = { workspace = true }
|
||||
num-bigint = { workspace = true }
|
||||
static_assertions = "1.1.0"
|
||||
num-complex = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
num-complex = { workspace = true, optional = true }
|
||||
once_cell = { workspace = true, optional = true }
|
||||
pyo3 = { workspace = true, optional = true, features = ["num-bigint", "num-complex"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue