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 default-features = false somewhere in the dependency tree.

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.

body-image-futio brotli futio mmap
hyper futio

Enables hyper >=0.14.2, <0.15