Cargo Features
[dependencies]
musicbrainz_rs = { version = "0.5.0", default-features = false, features = ["async", "rustls", "blocking"] }
- default = async
-
These default features are set whenever
musicbrainz_rs
is added without
somewhere in the dependency tree.default-features = false Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- async default = wasm-timer
- rustls
-
Enables rustls of reqwest ^0.11
- blocking
-
Enables blocking of reqwest ^0.11
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.