Generate docs with cfg badges

This commit is contained in:
ItsEthra 2023-11-30 18:10:49 +03:00
parent 6af52af17f
commit 63efc3ffd5
4 changed files with 10 additions and 0 deletions

View file

@ -12,6 +12,7 @@ edition = "2021"
[features]
default = []
unstable = []
guards = ["tower", "futures-core", "pin-project-lite"]
serde = ["dep:serde", "dep:serde_json"]
@ -26,3 +27,6 @@ pin-project-lite = { version = "0.2", optional = true }
# Optional dependencies required for the `serde` feature.
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
[package.metadata.docs.rs]
all-features = true