Cargo Features

[dependencies]
hyperscan-async = { version = "0.0.6", default-features = false, features = ["alloc", "static", "compiler", "dynamic", "chimera", "async"] }
default = compiler, static

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

alloc

Enables indexmap ^1.8.1 and parking_lot

Affects hyperscan-async::alloc

static default

Enables static of hyperscan-async-sys

compiler default

Enables once_cell, compiler of hyperscan-async-sys

Affects database::Platform, error::CompileError, error::HyperscanCompileError, error::chimera.ChimeraInnerCompileError, error::chimera.ChimeraCompileError, hyperscan-async::expression, hyperscan-async::flags, hyperscan-async::check_valid_platform

dynamic

Enables dynamic of hyperscan-async-sys

chimera

Enables chimera of hyperscan-async-sys

Affects alloc::chimera, database::chimera, error::chimera, expression::chimera, flags::chimera, hyperscan-async::chimera_version, matchers::chimera

async

Enables async-stream, futures-core, futures-util, and tokio 1.33.*

Affects error::ScanError, error::chimera.ChimeraScanError, matchers::stream.scan, stream::channel