Cargo Features

[dependencies]
spiffe = { version = "0.6.3", default-features = false, features = ["spiffe-types", "workload-api", "integration-tests"] }
default = spiffe-types, workload-api

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

spiffe-types default

Affects spiffe::constants, spiffe::bundle, spiffe::cert, spiffe::spiffe_id, spiffe::svid, spiffe::error, spiffe::endpoint

workload-api default = log, prost, prost-types, tokio, tokio-stream, tokio-util, tower

Affects spiffe::workload_api

integration-tests

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.

prost workload-api

Enables prost

workload-api dependencies:

prost-types workload-api
tokio workload-api
tokio-stream workload-api
tower workload-api
tokio-util workload-api
log workload-api