Cargo Features
[dependencies]
buffered-reader = { version = "1.3.1", default-features = false, features = ["compression", "compression-deflate", "compression-bzip2"] }
- default = compression
-
The
compression
feature is set by default wheneverbuffered-reader
is added without
somewhere in the dependency tree.default-features = false - compression default = compression-bzip2, compression-deflate
-
The compression algorithms.
- compression-deflate compression = flate2
- compression-bzip2 compression = bzip2
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.