Cargo Features

lalrpop-util = { version = "0.20.0", default-features = false, features = ["std", "lexer", "unicode", "regex"] }
default = std

The std feature is set by default whenever lalrpop-util is added without default-features = false somewhere in the dependency tree.

std default lexer?
lexer = std

Enables std of regex

Affects lalrpop-util::lexer


Enables unicode of optional regex

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

regex implicit feature

With std and default features