Cargo Features

[dependencies]
rustpython-parser = { version = "0.3.1", 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 default-features = false somewhere in the dependency tree.

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

lalrpop:

convenient LR(1) parser generator