Cargo Features
[dependencies]
rust-releases = { version = "0.28.0", default-features = false, features = ["rust-changelog", "rust-dist", "io", "io-http"] }
- default = rust-changelog
-
The
rust-changelog
feature is set by default wheneverrust-releases
is added without
somewhere in the dependency tree.default-features = false - rust-changelog default = rust-releases-rust-changelog
- rust-dist = rust-releases-rust-dist
- io = rust-releases-io
- io-http
-
Enables http_client of rust-releases-io
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.