mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 02:39:55 +00:00
Merge pull request #909 from Silvea12/master
Updated docs to correct version + mention tokio03 feature flag
This commit is contained in:
commit
e5191aec8a
2 changed files with 17 additions and 7 deletions
|
@ -798,7 +798,8 @@ task::blocking(async {
|
|||
|
||||
- Initial beta release
|
||||
|
||||
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.6.5...HEAD
|
||||
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.7.0...HEAD
|
||||
[1.7.0]: https://github.com/async-rs/async-std/compare/v1.6.5...1.7.0
|
||||
[1.6.5]: https://github.com/async-rs/async-std/compare/v1.6.4...v1.6.5
|
||||
[1.6.4]: https://github.com/async-rs/async-std/compare/v1.6.3...v1.6.4
|
||||
[1.6.3]: https://github.com/async-rs/async-std/compare/v1.6.2...v1.6.3
|
||||
|
|
21
src/lib.rs
21
src/lib.rs
|
@ -197,7 +197,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.5"
|
||||
//! version = "1.7.0"
|
||||
//! features = ["unstable"]
|
||||
//! ```
|
||||
//!
|
||||
|
@ -210,25 +210,34 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.5"
|
||||
//! version = "1.7.0"
|
||||
//! features = ["attributes"]
|
||||
//! ```
|
||||
//!
|
||||
//! Compatibility with the `tokio` runtime is possible using the `tokio02`
|
||||
//! Compatibility with the `tokio` 0.2 runtime is possible using the `tokio02`
|
||||
//! Cargo feature:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.5"
|
||||
//! version = "1.7.0"
|
||||
//! features = ["tokio02"]
|
||||
//! ```
|
||||
//!
|
||||
//! Compatibility with the `tokio` 0.3 runtime is also simultaneously possible
|
||||
//! using the `tokio03` Cargo feature:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.7.0"
|
||||
//! features = ["tokio03"]
|
||||
//! ```
|
||||
//!
|
||||
//! Additionally it's possible to only use the core traits and combinators by
|
||||
//! only enabling the `std` Cargo feature:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.5"
|
||||
//! version = "1.7.0"
|
||||
//! default-features = false
|
||||
//! features = ["std"]
|
||||
//! ```
|
||||
|
@ -238,7 +247,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.5"
|
||||
//! version = "1.7.0"
|
||||
//! default-features = false
|
||||
//! features = ["alloc"]
|
||||
//! ```
|
||||
|
|
Loading…
Reference in a new issue