# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.72.1" name = "rustpython-parser" version = "0.4.0" authors = ["RustPython Team"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Python language parser for Python3." readme = "README.md" license = "MIT" repository = "https://github.com/RustPython/Parser" [lib] name = "rustpython_parser" path = "src/lib.rs" [dependencies.is-macro] version = "0.3.0" [dependencies.itertools] version = "0.11.0" [dependencies.lalrpop-util] version = "0.20.0" default-features = false [dependencies.log] version = "0.4.16" [dependencies.malachite-bigint] version = "0.2.0" optional = true [dependencies.num-bigint] version = "0.4.3" optional = true [dependencies.num-traits] version = "0.2" [dependencies.phf] version = "0.11.1" [dependencies.rustc-hash] version = "1.1.0" [dependencies.rustpython-ast] version = "0.4.0" default-features = false [dependencies.rustpython-parser-core] version = "0.4.0" features = [] [dependencies.serde] version = "1.0.133" features = ["derive"] optional = true default-features = false [dependencies.unic-emoji-char] version = "0.9.0" [dependencies.unic-ucd-ident] version = "0.9.0" [dependencies.unicode_names2] version = "1.1.0" [dev-dependencies.insta] version = "1.14.0" [build-dependencies.anyhow] version = "1.0.45" [build-dependencies.lalrpop] version = "0.20.0" optional = true default-features = false [build-dependencies.phf_codegen] version = "0.11.1" [build-dependencies.tiny-keccak] version = "2" features = ["sha3"] [features] all-nodes-with-ranges = ["rustpython-ast/all-nodes-with-ranges"] default = [ "location", "malachite-bigint", ] full-lexer = [] location = [ "rustpython-ast/location", "rustpython-parser-core/location", ] malachite-bigint = [ "dep:malachite-bigint", "rustpython-ast/malachite-bigint", ] num-bigint = [ "dep:num-bigint", "rustpython-ast/num-bigint", ] serde = [ "dep:serde", "rustpython-parser-core/serde", ]