Skip to content

Commit

Permalink
Add all-features to docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
aramperes committed Aug 1, 2021
1 parent 6e82736 commit 0bfbd7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nut-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ default = []
ssl = ["rustls", "rustls/dangerous_configuration", "webpki", "webpki-roots"]
async = ["tokio"]
async-ssl = ["async", "tokio-rustls", "ssl"]

# a feature gate for examples
async-rt = ["async", "tokio/rt-multi-thread", "tokio/macros"]

[[example]]
name = "async"
required-features = ["async-rt"]

[package.metadata.docs.rs]
all-features = true

0 comments on commit 0bfbd7e

Please sign in to comment.