Cargo Features

[dependencies]
regex-syntax = { version = "0.8.2", default-features = false, features = ["std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "arbitrary"] }

Features are documented in the "Crate features" section of the crate docs: https://docs.rs/regex-syntax/*/#crate-features

default = std, unicode

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

std default
unicode default = unicode-age, unicode-bool, unicode-case, unicode-gencat, unicode-perl, unicode-script, unicode-segment
unicode-age unicode

Affects unicode_tables::age

unicode-bool unicode

Affects unicode_tables::property_bool

unicode-case unicode

Affects unicode_tables::case_folding_simple

unicode-gencat unicode

Affects unicode_tables::general_category

unicode-perl unicode

Affects unicode_tables::perl_decimal, unicode_tables::perl_space, unicode_tables::perl_word

unicode-script unicode

Affects unicode_tables::script, unicode_tables::script_extension

unicode-segment unicode

Affects unicode_tables::grapheme_cluster_break, unicode_tables::sentence_break, unicode_tables::word_break

arbitrary

Enables arbitrary