Cargo Features

hyperscan = { version = "0.3.2", default-features = false, features = ["full", "gen", "static", "chimera", "compile", "contained", "runtime", "async", "latest", "literal", "pattern", "unstable", "v4", "v5", "v5_2", "v5_4", "docsrs"] }
default = full, latest

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

full default docsrs? = compile, runtime

Enables gen of hyperscan-sys

static chimera?

Enables static of hyperscan-sys

chimera docsrs? = bitflags, derive_more, static

Enables chimera of hyperscan-sys

Affects hyperscan::chimera

compile full = bitflags, derive_more

Enables compile of hyperscan-sys

Affects hyperscan::regex


Enables contained of hyperscan-sys

runtime full

Enables runtime of hyperscan-sys

Affects hyperscan::regex

async docsrs? = futures
latest default docsrs? = v5_4
literal v5_2?
pattern unstable?

Enables pattern of regex

unstable = pattern
v4 v5?
v5 v5_2? = v4
v5_2 v5_4? = literal, v5
v5_4 latest = v5_2
docsrs = async, chimera, full, latest

Enables docsrs of hyperscan-sys

Features from optional dependencies

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

bitflags chimera? compile?

Enables bitflags ^1.3

derive_more chimera? compile?

With default features

futures async?

With default features