Skip to content

Commit e5191ae

Browse files
authored
Merge pull request #909 from Silvea12/master
Updated docs to correct version + mention tokio03 feature flag
2 parents a2ea3c7 + 7d20a44 commit e5191ae

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,8 @@ task::blocking(async {
798798

799799
- Initial beta release
800800

801-
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.6.5...HEAD
801+
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.7.0...HEAD
802+
[1.7.0]: https://github.com/async-rs/async-std/compare/v1.6.5...1.7.0
802803
[1.6.5]: https://github.com/async-rs/async-std/compare/v1.6.4...v1.6.5
803804
[1.6.4]: https://github.com/async-rs/async-std/compare/v1.6.3...v1.6.4
804805
[1.6.3]: https://github.com/async-rs/async-std/compare/v1.6.2...v1.6.3

src/lib.rs

+15-6
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
//!
198198
//! ```toml
199199
//! [dependencies.async-std]
200-
//! version = "1.6.5"
200+
//! version = "1.7.0"
201201
//! features = ["unstable"]
202202
//! ```
203203
//!
@@ -210,25 +210,34 @@
210210
//!
211211
//! ```toml
212212
//! [dependencies.async-std]
213-
//! version = "1.6.5"
213+
//! version = "1.7.0"
214214
//! features = ["attributes"]
215215
//! ```
216216
//!
217-
//! Compatibility with the `tokio` runtime is possible using the `tokio02`
217+
//! Compatibility with the `tokio` 0.2 runtime is possible using the `tokio02`
218218
//! Cargo feature:
219219
//!
220220
//! ```toml
221221
//! [dependencies.async-std]
222-
//! version = "1.6.5"
222+
//! version = "1.7.0"
223223
//! features = ["tokio02"]
224224
//! ```
225225
//!
226+
//! Compatibility with the `tokio` 0.3 runtime is also simultaneously possible
227+
//! using the `tokio03` Cargo feature:
228+
//!
229+
//! ```toml
230+
//! [dependencies.async-std]
231+
//! version = "1.7.0"
232+
//! features = ["tokio03"]
233+
//! ```
234+
//!
226235
//! Additionally it's possible to only use the core traits and combinators by
227236
//! only enabling the `std` Cargo feature:
228237
//!
229238
//! ```toml
230239
//! [dependencies.async-std]
231-
//! version = "1.6.5"
240+
//! version = "1.7.0"
232241
//! default-features = false
233242
//! features = ["std"]
234243
//! ```
@@ -238,7 +247,7 @@
238247
//!
239248
//! ```toml
240249
//! [dependencies.async-std]
241-
//! version = "1.6.5"
250+
//! version = "1.7.0"
242251
//! default-features = false
243252
//! features = ["alloc"]
244253
//! ```

0 commit comments

Comments
 (0)