Cargo Features

[dependencies]
bindle = { version = "0.9.1", default-features = false, features = ["server", "client", "providers", "caching", "test-tools", "cli", "native-tls", "rustls-tls"] }
default = caching, client, native-tls, server, test-tools

These default features are set whenever bindle is added without default-features = false somewhere in the dependency tree.

server default = dirs, either, hyper, mime, oauth2, openid, providers, reqwest, tokio-util, warp

Enables fs of tokio-stream and full of tokio

tokio:

enable everything

Affects bindle::server, bindle::authn, bindle::authz

client default = async-compression, dirs, mime_guess, oauth2, providers, reqwest, time, tokio-tar, tokio-util

Enables full of tokio, fs of tokio-stream

Affects bindle::client, bindle::proxy, bindle::standalone

providers client server = lru, serde_cbor, sled

Activates provider implementations

Affects provider::embedded, provider::file

caching default = lru

Affects bindle::cache

test-tools default

Affects bindle::testing

cli = atty, clap, tracing-subscriber

Required by bindle and bindle-server binaries

native-tls default

Enables native-tls of optional openid ^0.10 and default-tls of optional reqwest ^0.11.4

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

rustls-tls

Enables rustls of optional openid ^0.10, rustls-tls of optional reqwest ^0.11.4

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.

async-compression client

Enables async-compression ^0.3

atty cli?
clap cli?

Enables clap ^3

dirs client server

Enables dirs ^4.0.0

either server
hyper server

Enables hyper ^0.14.12

lru caching providers?

Enables lru ^0.8

mime server
mime_guess client
oauth2 client server
openid server

Enables openid ^0.10

reqwest client server

Enables reqwest ^0.11.4

serde_cbor providers?
sled providers?
time client
tokio-tar client
tokio-util client server
tracing-subscriber cli?
warp server