Cargo Features
[dependencies]
nbtea = { version = "0.3.5", default-features = false, features = ["flate2", "serde"] }
- default = flate2, serde
-
These default features are set whenever
nbtea
is added without
somewhere in the dependency tree.default-features = false
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.
- flate2 default
-
Affects
nbtea::root_tag_from_reader_gzip
,nbtea::root_tag_from_slice_gzip
,nbtea::root_tag_to_writer_gzip
,nbtea::root_tag_to_vec_gzip
,nbtea::to_writer_gzip
,nbtea::to_vec_gzip
,nbtea::from_reader_gzip
,nbtea::from_slice_gzip
… - serde default
-
Affects
nbtea::to_writer
,nbtea::to_vec
,nbtea::from_reader
,nbtea::from_slice
,nbtea::to_writer_gzip
,nbtea::to_vec_gzip
,nbtea::from_reader_gzip
,nbtea::from_slice_gzip
…