Cargo Features
[dependencies]
rustpython-parser = { version = "0.4.0", default-features = false, features = ["location", "serde", "all-nodes-with-ranges", "full-lexer", "malachite-bigint", "num-bigint", "lalrpop"] }
- default = location, malachite-bigint
-
These default features are set whenever
rustpython-parser
is added without
somewhere in the dependency tree.default-features = false - location default
-
Enables location of rustpython-ast and rustpython-parser-core
- serde
-
Enables serde, serde of rustpython-parser-core
- all-nodes-with-ranges
-
Enables all-nodes-with-ranges of rustpython-ast
- full-lexer
- malachite-bigint default
-
Enables malachite-bigint, malachite-bigint of rustpython-ast
- num-bigint
-
Enables num-bigint, num-bigint of rustpython-ast
Features from optional dependencies
- lalrpop build implicit feature
-
Enables lalrpop ^0.20.0
lalrpop:
convenient LR(1) parser generator