Add utilities to enum (#44)

* Add utilities to enum

* Fix unexpected pyo3 dependency propagation
This commit is contained in:
Jeong, YunWon 2023-05-16 23:29:49 +09:00 committed by GitHub
parent 3bdf8a940a
commit ff17f6e178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 33 additions and 17 deletions

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