Cargo Features

[dependencies]
nom = { version = "8.0.0-alpha2", default-features = false, features = ["std", "alloc", "docsrs"] }
default = std

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

std default = alloc

Enables std of memchr

memchr:

The 'std' feature permits the memchr crate to use the standard library. This permits this crate to use runtime CPU feature detection to automatically accelerate searching via vector instructions. Without the standard library,
this automatic detection is not possible.

Affects error::dbg_dmp, nom::lib.std, traits::HexDisplay, nom::recipes

alloc std

Affects tests::ErrorStr, complete::escaped_transform, bytes::escaped_transform, streaming::escaped_transform, error::VerboseError, error::VerboseErrorKind, error::convert_error, multi::many0, multi::Many0, multi::many1, multi::Many1, multi::many_till, multi::ManyTill, multi::separated_list0, multi::SeparatedList0, multi::separated_list1, multi::SeparatedList1, multi::many_m_n, multi::ManyMN, multi::count

docsrs

Affects nom::recipes