Cargo Features

[dependencies]
gramatika = { version = "0.6.0", default-features = false, features = ["macros", "substr-source"] }
default = macros

The macros feature is set by default whenever gramatika is added without default-features = false somewhere in the dependency tree.

macros default = gramatika-macro, once_cell, regex-automata
substr-source

Use arcstr::Substr instead of arcstr::ArcStr as the "source" type for input text. This opens the possibility for some advanced use cases, like using a different parser to process some portions of a text document.

Affects gramatika::SourceStr

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.

once_cell macros
regex-automata macros

Enables regex-automata ^0.1

gramatika-macro macros