Cargo Features
[dependencies]
nom = { version = "8.0.0-beta.1", default-features = false, features = ["std", "alloc", "docsrs"] }
- default = std
-
The
std
feature is set by default whenevernom
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
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
,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
,multi::Count
,multi::length_count
,multi::LengthCount
… - docsrs
-
Affects
nom::recipes
…