Cargo Features
[dependencies]
length-delimited = { version = "0.2.0", default-features = false, features = ["std", "alloc", "send", "sync", "static", "display", "error", "bytes1", "bstr1", "smol_str03", "faststr02", "triomphe01"] }
- default = error, send, static, std, sync
-
These default features are set whenever
length-delimited
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables thiserror and optional faststr, std of optional bstr and optional bytes
- alloc
- send default
-
Add
Send
bounds - sync default
-
Add
Sync
bounds - static default
-
Add 'static bounds
- debug display error
-
Affects
sealed::Printable
,sealed::Printable
… - error default = debug, display
-
Add
core::error::Error
boundsAffects
sealed::Printable
…
Features from optional dependencies
- bytes1 implicit feature
-
Enables bytes
bytes:
Types and traits for working with bytes
- bstr1 implicit feature
-
Enables bstr
bstr:
A string type that is not required to be valid UTF-8
- smol_str03 implicit feature
-
Enables smol_str
smol_str:
small-string optimized string type with O(1) clone
- faststr02 implicit feature
-
Enables faststr
faststr:
Faststr is a string library that reduces the cost of clone
- triomphe01 implicit feature
-
Enables triomphe