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
somewhere in the dependency tree.default-features = false - file default = serde_json
-
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