Cargo Features
[dependencies]
aspotify = { version = "0.7.1", default-features = false, features = ["rand", "base64"] }
- default = base64, rand
-
These default features are set whenever
aspotify
is added without
somewhere in the dependency tree.default-features = false
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
-
Enables rand
For generating random state
Affects
authorization_url::authorization_url
… - base64 default
-
Enables base64 ^0.13.0
For encoding playlist cover images