Cargo Features
[dependencies]
lazycsv = { version = "0.1.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverlazycsv
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
The 'std' feature permits the lazycsv crate to use the standard library. This permits memchr to use runtime CPU feature detection to automatically accelerate searching via vector instructions. Without the standard library,
this automatic detection is not possible. - alloc std
-
The 'alloc' feature enables some APIs that require allocation, such as 'Cell::try_as_str'. Note that this feature does not enable runtime CPU feature
detection. That still requires 'std'.