Cargo Features

[dependencies]
rustpython-ast = { version = "0.4.0", default-features = false, features = ["constant-optimization", "location", "fold", "unparse", "visitor", "all-nodes-with-ranges", "num-bigint", "malachite-bigint"] }
default = location, malachite-bigint

These default features are set whenever rustpython-ast is added without default-features = false somewhere in the dependency tree.

constant-optimization = fold
location default = fold

Enables location of rustpython-parser-core

Affects rustpython-ast::located

fold constant-optimization? location

Affects rustpython-ast::fold

unparse = rustpython-literal

Affects rustpython-ast::unparse

visitor
all-nodes-with-ranges

Affects fold::Fold.will_map_user_cfg, fold::Fold.map_user_cfg, generic::OptionalRange

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rustpython-literal unparse?
num-bigint implicit feature

Enables num-bigint

num-bigint:

Big integer implementation for Rust

malachite-bigint default