mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 21:25:31 +00:00

* Update PyO3 * replace unicode_names2 to official release * clean up Cargo.toml and bump dependency versions
46 lines
1.5 KiB
TOML
46 lines
1.5 KiB
TOML
[package]
|
|
name = "rustpython-parser"
|
|
description = "Python language parser for Python3."
|
|
edition = { workspace = true }
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
|
|
[features]
|
|
default = ["location", "malachite-bigint"]
|
|
location = ["rustpython-ast/location", "rustpython-parser-core/location"]
|
|
serde = ["dep:serde", "rustpython-parser-core/serde"]
|
|
all-nodes-with-ranges = ["rustpython-ast/all-nodes-with-ranges"]
|
|
full-lexer = []
|
|
malachite-bigint = ["dep:malachite-bigint", "rustpython-ast/malachite-bigint"]
|
|
num-bigint = ["dep:num-bigint", "rustpython-ast/num-bigint"]
|
|
|
|
[build-dependencies]
|
|
anyhow = { workspace = true }
|
|
lalrpop = { version = "0.20.0", default-features = false, optional = true }
|
|
phf_codegen = "0.11.1"
|
|
tiny-keccak = { version = "2", features = ["sha3"] }
|
|
|
|
[dependencies]
|
|
rustpython-ast = { workspace = true }
|
|
rustpython-parser-core = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
is-macro = { workspace = true }
|
|
log = { workspace = true }
|
|
malachite-bigint = { workspace = true, optional = true }
|
|
num-bigint = { workspace = true, optional = true }
|
|
num-traits = { workspace = true }
|
|
unicode_names2 = { workspace = true }
|
|
|
|
unic-emoji-char = "0.9.0"
|
|
unic-ucd-ident = "0.9.0"
|
|
lalrpop-util = { version = "0.20.0", default-features = false }
|
|
phf = "0.11.1"
|
|
rustc-hash = "1.1.0"
|
|
serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
insta = { workspace = true }
|