Cargo Features
[dependencies]
ufotofu_codec = { version = "0.1.0", default-features = false, features = ["std", "alloc", "dev"] }
- default = std
-
The
std
feature is set by default wheneverufotofu_codec
is added without
somewhere in the dependency tree.default-features = false - std default dev? = alloc
-
Provide functionality that relies on the std library. Enabled by default.
- alloc std
-
Provide functionality that relies on dynamic memory allocation.
Affects
encode::Encodable.encode_into_vec
,encode::EncodableKnownSize.encode_into_boxed_slice
,encode::EncodableSync.sync_encode_into_vec
,encode::EncodableSync.sync_encode_into_boxed_slice
,relative_encode::RelativeEncodable.relative_encode_into_vec
,relative_encode::RelativeEncodableKnownSize.relative_encode_into_boxed_slice
,relative_encode::RelativeEncodableSync.sync_relative_encode_into_vec
,relative_encode::RelativeEncodableSync.sync_relative_encode_into_boxed_slice
… - dev = std
-
Provide test helpers.
Affects
ufotofu_codec::proptest
…