From f4ff5443c861a65b17c26ce1fbe3204a6328f5a1 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Fri, 16 Aug 2019 16:54:39 +0200 Subject: [PATCH] Prepare for v0.99.0 --- CHANGELOG.md | 3 +++ Cargo.toml | 9 ++++++--- README.md | 12 ++++++------ src/io/timeout.rs | 1 + 4 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..1d27c71e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Version 0.99.0 + +- Initial beta release diff --git a/Cargo.toml b/Cargo.toml index 45149ad7..633a47c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "async-std" -version = "0.1.0" -authors = ["Stjepan Glavina "] +version = "0.99.0" +authors = [ + "Stjepan Glavina ", + "The async-std Project Developers", +] edition = "2018" license = "Apache-2.0/MIT" repository = "https://github.com/async-rs/async-std" @@ -19,7 +22,7 @@ rustdoc-args = ["--features docs"] docs = [] [dependencies] -async-task = { git = "ssh://git@github.com/async-rs/async-task.git" } +async-task = "1.0.0" cfg-if = "0.1.9" crossbeam-channel = "0.3.9" futures-preview = "0.3.0-alpha.17" diff --git a/README.md b/README.md index 04891f83..d4393ff8 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Async version of Rust's standard library -[![Build Status](https://travis-ci.com/async-rs/async-std.svg?branch=master)](https://travis-ci.org/async-rs/async-std) -[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)]( -https://github.com/async-rs/async-std) +[![Build Status](https://travis-ci.com/async-rs/async-std.svg?branch=master)](https://travis-ci.com/async-rs/async-std) +[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](https://github.com/async-rs/async-std) [![Cargo](https://img.shields.io/crates/v/async-std.svg)](https://crates.io/crates/async-std) [![Documentation](https://docs.rs/async-std/badge.svg)](https://docs.rs/async-std) [![chat](https://img.shields.io/discord/598880689856970762.svg?logo=discord)](https://discord.gg/JvZeVNe) -This crate provides an async version of [`std`]. It provides all the interfaces you are used to, but in an async version and ready for Rust's `async/await`-syntax. +This crate provides an async version of [`std`]. It provides all the interfaces you +are used to, but in an async version and ready for Rust's `async`/`await` syntax. [`std`]: https://doc.rust-lang.org/std/index.html @@ -90,10 +90,10 @@ fn main() { Clone the repo: ``` -git clone git@github.com:stjepang/async-std.git && cd async-std +git clone git@github.com:async-rs/async-std.git && cd async-std ``` -Read the docs: +Generate docs: ``` cargo doc --features docs.rs --open diff --git a/src/io/timeout.rs b/src/io/timeout.rs index b35a8030..51979819 100644 --- a/src/io/timeout.rs +++ b/src/io/timeout.rs @@ -24,6 +24,7 @@ use crate::task::{Context, Poll}; /// let stdin = io::stdin(); /// let mut line = String::new(); /// let n = stdin.read_line(&mut line).await?; +/// Ok(()) /// }) /// .await?; /// #