Cargo Features
[dependencies]
barc-cli = { version = "2.2.1", default-features = false, features = ["futio", "mmap", "brotli"] }
- default = brotli, futio, mmap
-
These default features are set whenever
barc-cli
is added without
somewhere in the dependency tree.default-features = false - futio default = body-image-futio, hyper
-
Enables hyper-http of body-image-futio
- mmap default
-
Enables mmap of barc, body-image, and body-image-futio
- brotli default
-
Enables brotli of barc and body-image-futio
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.