Fix unexpected pyo3 dependency propagation

This commit is contained in:
Jeong YunWon 2023-05-16 23:15:26 +09:00
parent 2c9d66f9f7
commit da4046d3b1

View file

@ -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"] }