Cargo Features

[dependencies]
gravel-gateway = { version = "1.7.1", default-features = false, features = ["tls", "auth", "clustering"] }
default = auth, clustering, tls

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

tls default

Enables tls of warp

auth default = bcrypt

Affects auth::BasicAuthenticator, auth::basic_auth

clustering default = reqwest, trust-dns-proto, trust-dns-resolver, twox-hash

Affects routes::RoutesConfig.cluster_conf

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.

bcrypt auth

Enables bcrypt ^0.10

trust-dns-proto clustering

Enables trust-dns-proto ^0.21.2

trust-dns-resolver clustering

Enables trust-dns-resolver ^0.21.2

reqwest clustering

Enables reqwest ^0.11.10

twox-hash clustering