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 whenever rust-releases is added without default-features = false somewhere in the dependency tree.

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.

rust-releases-io io? io-http?
rust-releases-rust-changelog rust-changelog
rust-releases-rust-dist rust-dist?