Cargo Features
[dependencies]
body-image-futio = { version = "2.2.2", default-features = false, features = ["hyper-http", "mmap", "may-fail", "tangential", "brotli", "brotli-decompressor"] }
- default = brotli, hyper-http, mmap
-
These default features are set whenever
body-image-futio
is added without
somewhere in the dependency tree.default-features = false - hyper-http default = hyper, hyper-tls
- mmap default = memmap
-
Enables mmap of body-image and olio
Affects
stream::OutputBuf.from_mmap
… - may-fail
-
Tests which may fail
- tangential
-
less interesting benchmarks
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.
- brotli default
-
Enables brotli >=3.1.0, <3.4
Affects
body-image-futio::ACCEPT_ENCODINGS
… - brotli-decompressor implicit feature
-
Enables brotli-decompressor
min transitive
- hyper hyper-http
-
Enables hyper >=0.14.2, <0.15
- hyper-tls hyper-http
-
Enables hyper-tls >=0.5.0, <0.6
- memmap mmap