feature-manifest 0.7.4

Document, validate, and render Cargo feature metadata.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[dependencies]
tokio = { version = "1", optional = true }
async-std = { version = "1", optional = true }

[features]
tokio = ["dep:tokio"]
async-std = ["dep:async-std"]

[package.metadata.feature-manifest.features]
tokio = { description = "Enable Tokio-backed async APIs.", category = "runtime", docs = "https://docs.rs/tokio" }
async-std = { description = "Enable async-std-backed async APIs.", category = "runtime", docs = "https://docs.rs/async-std" }

[[package.metadata.feature-manifest.groups]]
name = "runtime"
description = "Choose one async runtime backend."
members = ["tokio", "async-std"]
mutually_exclusive = true