t3hmrman / situwaition

⏲ situwaition is a Rust utility library that waits for conditions
https://crates.io/crates/situwaition
MIT License
6 stars 0 forks source link

fix: add doc_cfg to improve docs.rs experience #7

Open t3hmrman opened 1 year ago

t3hmrman commented 1 year ago

See comment in users.rust-lang.org -- on docs.rs it's very hard to tell where the tokio package comes from (the feature is required) -- so it's a good idea to use the recommended doc_cfg flag.

Thanks SkiFire13 for the recommendation

t3hmrman commented 1 year ago

Re-opening since the current documentation for runtime::tokio::wait_for still doesn't show the feature flag requirement