Cargo Features
[dependencies]
jbytes = { version = "0.2.0", default-features = false, features = ["std", "full", "derive", "jdefault"] }
- default = std
-
The
std
feature is set by default wheneverjbytes
is added without
somewhere in the dependency tree.default-features = false - std default = thiserror
-
Enables std of aho-corasick, jkcenum, and 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. - full = jbytes_derive, jdefault_derive, jget, serde
- derive = jbytes_derive
- jdefault = jdefault_derive
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- jbytes_derive derive? full?
- jdefault_derive full? jdefault?
- jget full?
- thiserror std
-
Enables thiserror ^1.0
- serde full?