Cargo Features
[dependencies]
cfg = { version = "0.9.0", default-features = false, features = ["serialize", "ll", "weighted-generation", "cfg-earley", "cfg-predict", "cfg-sequence"] }
- default = cfg-classify, cfg-earley, cfg-generate, cfg-predict, cfg-sequence
-
These default features are set whenever
cfg
is added without
somewhere in the dependency tree.default-features = false - serialize
-
Enables serialize of cfg-grammar
- ll
-
Enables cfg-predict of cfg-classify
- weighted-generation = cfg-generate, rand
-
Enables weighted of cfg-generate
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.
- cfg-classify default ll?
- cfg-generate default weighted-generation?
- cfg-earley default
- cfg-predict default
- cfg-sequence default
- rand weighted-generation?