Cargo Features
[dependencies]
tree-buf = { version = "0.10.0", default-features = false, features = ["encode", "decode", "macros"] }
- default = decode, encode, macros
-
These default features are set whenever
tree-buf
is added without
somewhere in the dependency tree.default-features = false - encode default
-
Affects
branch::encode_ident
,encoder_decoder::EncoderStream
,encoder_decoder::Encodable
,encoder_decoder::EncoderArray
,packed_bool::encode_packed_bool
,rle_bool::encode_rle_bool
,rle_bool::size_of_rle_bool
,varint::size_for_varint
,varint::encode_prefix_varint
,varint::encode_suffix_varint
,smart_pointers::BoxEncoderArray
,usize_::encode_usize
,array::VecArrayEncoder
,hashmap::HashMapArrayEncoder
,nullable::NullableEncoder
,string::encode_str
,tree-buf::encode_with_options
… - decode default
-
Affects
branch::decode_ident
,branch::decode_root
,encoder_decoder::Decodable
,encoder_decoder::DecoderArray
,encodings::decode_all
,packed_bool::decode_packed_bool
,rle_bool::decode_rle_bool
,varint::decode_prefix_varint
,varint::decode_suffix_varint
,error::DecodeError
,internal::branch
,smart_pointers::BoxDecoderArray
,usize_::decode_usize
,array::VecArrayDecoder
,bytes::decode_bytes
,hashmap::HashMapArrayDecoder
,nullable::NullableDecoder
,string::decode_str
,tree-buf::decode
,tree-buf::decode_with_options
… - macros default = tree-buf-macros
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.