Merge pull request #794 from async-rs/1-6-0

pull/802/head v1.6.0
Friedel Ziegelmayer 5 years ago committed by GitHub
commit 6d2a43e336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
## [Unreleased] ## [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 # [1.6.0-beta.2] - 2020-05-19
## Added ## Added
@ -712,7 +716,8 @@ task::blocking(async {
- Initial beta release - 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.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.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.5.0]: https://github.com/async-rs/async-std/compare/v1.4.0...v1.5.0

@ -1,6 +1,6 @@
[package] [package]
name = "async-std" name = "async-std"
version = "1.6.0-beta.2" version = "1.6.0"
authors = [ authors = [
"Stjepan Glavina <stjepang@gmail.com>", "Stjepan Glavina <stjepang@gmail.com>",
"Yoshua Wuyts <yoshuawuyts@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 } surf = { version = "1.0.3", optional = true }
[target.'cfg(not(target_os = "unknown"))'.dependencies] [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] [target.'cfg(target_arch = "wasm32")'.dependencies]
futures-timer = { version = "3.0.2", optional = true, features = ["wasm-bindgen"] } futures-timer = { version = "3.0.2", optional = true, features = ["wasm-bindgen"] }

@ -197,7 +197,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.async-std] //! [dependencies.async-std]
//! version = "1.6.0-beta.2" //! version = "1.6.0"
//! features = ["unstable"] //! features = ["unstable"]
//! ``` //! ```
//! //!
@ -210,7 +210,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.async-std] //! [dependencies.async-std]
//! version = "1.6.0-beta.2" //! version = "1.6.0"
//! features = ["attributes"] //! features = ["attributes"]
//! ``` //! ```
//! //!
@ -219,7 +219,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.async-std] //! [dependencies.async-std]
//! version = "1.6.0-beta.2" //! version = "1.6.0"
//! default-features = false //! default-features = false
//! features = ["std"] //! features = ["std"]
//! ``` //! ```
@ -229,7 +229,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.async-std] //! [dependencies.async-std]
//! version = "1.6.0-beta.2" //! version = "1.6.0"
//! default-features = false //! default-features = false
//! features = ["alloc"] //! features = ["alloc"]
//! ``` //! ```

@ -992,6 +992,7 @@ impl<T> Drop for Channel<T> {
/// An error returned from the `try_send` method. /// An error returned from the `try_send` method.
#[cfg(feature = "unstable")] #[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))] #[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[derive(PartialEq, Eq)]
pub enum TrySendError<T> { pub enum TrySendError<T> {
/// The channel is full but not disconnected. /// The channel is full but not disconnected.
Full(T), Full(T),
@ -1023,7 +1024,7 @@ impl<T> Display for TrySendError<T> {
/// An error returned from the `try_recv` method. /// An error returned from the `try_recv` method.
#[cfg(feature = "unstable")] #[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))] #[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[derive(Debug)] #[derive(Debug, PartialEq, Eq)]
pub enum TryRecvError { pub enum TryRecvError {
/// The channel is empty but not disconnected. /// The channel is empty but not disconnected.
Empty, Empty,
@ -1046,7 +1047,7 @@ impl Display for TryRecvError {
/// An error returned from the `recv` method. /// An error returned from the `recv` method.
#[cfg(feature = "unstable")] #[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))] #[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[derive(Debug)] #[derive(Debug, PartialEq, Eq)]
pub struct RecvError; pub struct RecvError;
impl Error for RecvError {} impl Error for RecvError {}

Loading…
Cancel
Save