Cargo Features

cloud-storage-lite = { version = "0.1.9", default-features = false, features = ["oauth-token-provider"] }
default = oauth-token-provider

The oauth-token-provider feature is set by default whenever cloud-storage-lite is added without default-features = false somewhere in the dependency tree.

oauth-token-provider default = jsonwebtoken

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

jsonwebtoken oauth-token-provider

Enables jsonwebtoken ^7.2.0

[cfg(feature = "oauth-token-provider").dependencies]