mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-30 09:15:33 +00:00
Merge pull request #794 from async-rs/1-6-0
This commit is contained in:
commit
6d2a43e336
4 changed files with 15 additions and 9 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
# [1.6.0] - 2020-05-22
|
||||
|
||||
See `1.6.0-beta.1` and `1.6.0-beta.2`.
|
||||
|
||||
# [1.6.0-beta.2] - 2020-05-19
|
||||
|
||||
## Added
|
||||
|
@ -712,7 +716,8 @@ task::blocking(async {
|
|||
|
||||
- Initial beta release
|
||||
|
||||
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.6.0-beta.2...HEAD
|
||||
[Unreleased]: https://github.com/async-rs/async-std/compare/v1.6.0...HEAD
|
||||
[1.6.0]: https://github.com/async-rs/async-std/compare/v1.5.0...v1.6.0
|
||||
[1.6.0-beta.2]: https://github.com/async-rs/async-std/compare/v1.6.0-beta.1...v1.6.0-beta.2
|
||||
[1.6.0-beta.1]: https://github.com/async-rs/async-std/compare/v1.5.0...v1.6.0-beta.1
|
||||
[1.5.0]: https://github.com/async-rs/async-std/compare/v1.4.0...v1.5.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "async-std"
|
||||
version = "1.6.0-beta.2"
|
||||
version = "1.6.0"
|
||||
authors = [
|
||||
"Stjepan Glavina <stjepang@gmail.com>",
|
||||
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
|
||||
|
@ -71,7 +71,7 @@ slab = { version = "0.4.2", optional = true }
|
|||
surf = { version = "1.0.3", optional = true }
|
||||
|
||||
[target.'cfg(not(target_os = "unknown"))'.dependencies]
|
||||
smol = { version = "0.1.8", optional = true }
|
||||
smol = { version = "0.1.10", optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
futures-timer = { version = "3.0.2", optional = true, features = ["wasm-bindgen"] }
|
||||
|
|
|
@ -197,7 +197,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.0-beta.2"
|
||||
//! version = "1.6.0"
|
||||
//! features = ["unstable"]
|
||||
//! ```
|
||||
//!
|
||||
|
@ -210,7 +210,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.0-beta.2"
|
||||
//! version = "1.6.0"
|
||||
//! features = ["attributes"]
|
||||
//! ```
|
||||
//!
|
||||
|
@ -219,7 +219,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.0-beta.2"
|
||||
//! version = "1.6.0"
|
||||
//! default-features = false
|
||||
//! features = ["std"]
|
||||
//! ```
|
||||
|
@ -229,7 +229,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.async-std]
|
||||
//! version = "1.6.0-beta.2"
|
||||
//! version = "1.6.0"
|
||||
//! default-features = false
|
||||
//! features = ["alloc"]
|
||||
//! ```
|
||||
|
|
|
@ -992,6 +992,7 @@ impl<T> Drop for Channel<T> {
|
|||
/// An error returned from the `try_send` method.
|
||||
#[cfg(feature = "unstable")]
|
||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||
#[derive(PartialEq, Eq)]
|
||||
pub enum TrySendError<T> {
|
||||
/// The channel is full but not disconnected.
|
||||
Full(T),
|
||||
|
@ -1023,7 +1024,7 @@ impl<T> Display for TrySendError<T> {
|
|||
/// An error returned from the `try_recv` method.
|
||||
#[cfg(feature = "unstable")]
|
||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub enum TryRecvError {
|
||||
/// The channel is empty but not disconnected.
|
||||
Empty,
|
||||
|
@ -1046,7 +1047,7 @@ impl Display for TryRecvError {
|
|||
/// An error returned from the `recv` method.
|
||||
#[cfg(feature = "unstable")]
|
||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct RecvError;
|
||||
|
||||
impl Error for RecvError {}
|
||||
|
|
Loading…
Reference in a new issue