Cargo Features

[dependencies]
aliri_tokens = { version = "0.3.2", default-features = false, features = ["file", "oauth2", "rand"] }
default = file, oauth2, rand

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

file default = serde_json

Enables fs of tokio

Affects sources::file

oauth2 default = reqwest

Affects sources::oauth2

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.

rand default
reqwest oauth2
serde_json file