mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-18 06:16:45 +00:00
Merge pull request #1099 from joshtriplett/🌇
Officially sunset async-std
This commit is contained in:
commit
96f564672a
4 changed files with 22 additions and 76 deletions
|
@ -5,6 +5,12 @@ All notable changes to async-std will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://book.async.rs/overview/stability-guarantees.html).
|
and this project adheres to [Semantic Versioning](https://book.async.rs/overview/stability-guarantees.html).
|
||||||
|
|
||||||
|
# [1.13.1] - 2025-02-21
|
||||||
|
|
||||||
|
`async-std` has officially been discontinued. We recommend that all users and
|
||||||
|
libraries migrate to the excellent [`smol`](https://github.com/smol-rs/smol/)
|
||||||
|
project.
|
||||||
|
|
||||||
# [1.13.0] - 2024-09-06
|
# [1.13.0] - 2024-09-06
|
||||||
|
|
||||||
## Added
|
## Added
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "async-std"
|
name = "async-std"
|
||||||
version = "1.13.0"
|
version = "1.13.1"
|
||||||
authors = [
|
authors = [
|
||||||
"Stjepan Glavina <stjepang@gmail.com>",
|
"Stjepan Glavina <stjepang@gmail.com>",
|
||||||
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
|
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
|
||||||
|
@ -12,7 +12,7 @@ rust-version = "1.63"
|
||||||
license = "Apache-2.0 OR MIT"
|
license = "Apache-2.0 OR MIT"
|
||||||
repository = "https://github.com/async-rs/async-std"
|
repository = "https://github.com/async-rs/async-std"
|
||||||
homepage = "https://async.rs"
|
homepage = "https://async.rs"
|
||||||
description = "Async version of the Rust standard library"
|
description = "Deprecated in favor of `smol` - Async version of the Rust standard library"
|
||||||
keywords = ["async", "await", "future", "std", "task"]
|
keywords = ["async", "await", "future", "std", "task"]
|
||||||
categories = ["asynchronous", "concurrency", "network-programming"]
|
categories = ["asynchronous", "concurrency", "network-programming"]
|
||||||
|
|
||||||
|
|
86
README.md
86
README.md
|
@ -1,39 +1,19 @@
|
||||||
<h1 align="center">async-std</h1>
|
# `async-std` has been discontinued; use `smol` instead
|
||||||
<div align="center">
|
|
||||||
<strong>
|
|
||||||
Async version of the Rust standard library
|
|
||||||
</strong>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
We created `async-std` to demonstrate the value of making a library as close to
|
||||||
|
`std` as possible, but async. We think that demonstration was successful, and
|
||||||
|
we hope it will influence future design and development directions of async in
|
||||||
|
`std`. However, in the meantime, the [`smol`](https://github.com/smol-rs/smol/)
|
||||||
|
project came about and provided a great executor and libraries for asynchronous
|
||||||
|
use in the Rust ecosystem. We think that resources would be better spent
|
||||||
|
consolidating around `smol`, rather than continuing to provide occasional
|
||||||
|
maintenance of `async-std`. As such, we recommend that all users of
|
||||||
|
`async-std`, and all libraries built on `async-std`, switch to `smol` instead.
|
||||||
|
|
||||||
<div align="center">
|
In addition to the `smol` project as a direct replacement, you may find other
|
||||||
<!-- CI status -->
|
parts of the futures ecosystem useful, including `futures-concurrency`,
|
||||||
<a href="https://github.com/async-rs/async-std/actions">
|
`async-io`, `futures-lite`, and `async-compat`.
|
||||||
<img src="https://img.shields.io/github/actions/workflow/status/async-rs/async-std/ci.yml?branch=main&style=flat-square"
|
|
||||||
alt="CI Status" />
|
|
||||||
</a>
|
|
||||||
<!-- Crates version -->
|
|
||||||
<a href="https://crates.io/crates/async-std">
|
|
||||||
<img src="https://img.shields.io/crates/v/async-std.svg?style=flat-square"
|
|
||||||
alt="Crates.io version" />
|
|
||||||
</a>
|
|
||||||
<!-- Downloads -->
|
|
||||||
<a href="https://crates.io/crates/async-std">
|
|
||||||
<img src="https://img.shields.io/crates/d/async-std.svg?style=flat-square"
|
|
||||||
alt="Download" />
|
|
||||||
</a>
|
|
||||||
<!-- docs.rs docs -->
|
|
||||||
<a href="https://docs.rs/async-std">
|
|
||||||
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
|
|
||||||
alt="docs.rs docs" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a href="https://discord.gg/JvZeVNe">
|
|
||||||
<img src="https://img.shields.io/discord/598880689856970762.svg?logo=discord&style=flat-square"
|
|
||||||
alt="chat" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<h3>
|
<h3>
|
||||||
|
@ -44,14 +24,6 @@
|
||||||
<a href="https://book.async.rs">
|
<a href="https://book.async.rs">
|
||||||
Book
|
Book
|
||||||
</a>
|
</a>
|
||||||
<span> | </span>
|
|
||||||
<a href="https://github.com/async-rs/async-std/releases">
|
|
||||||
Releases
|
|
||||||
</a>
|
|
||||||
<span> | </span>
|
|
||||||
<a href="https://async.rs/contribute">
|
|
||||||
Contributing
|
|
||||||
</a>
|
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -111,38 +83,6 @@ creation, with an adaptive lock-free executor, threadpool and network driver to
|
||||||
create a smooth system that processes work at a high pace with low latency,
|
create a smooth system that processes work at a high pace with low latency,
|
||||||
using Rust's familiar stdlib API.
|
using Rust's familiar stdlib API.
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Run this in your projects folder:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ cargo add async-std
|
|
||||||
```
|
|
||||||
|
|
||||||
We also provide a set of "unstable" features with async-std. See the [features
|
|
||||||
documentation] on how to enable them.
|
|
||||||
|
|
||||||
[cargo add]: https://doc.rust-lang.org/cargo/commands/cargo-add.html
|
|
||||||
[features documentation]: https://docs.rs/async-std/#features
|
|
||||||
|
|
||||||
## Ecosystem
|
|
||||||
|
|
||||||
* [async-tls](https://crates.io/crates/async-tls) — Async TLS/SSL streams using **Rustls**.
|
|
||||||
|
|
||||||
* [async-native-tls](https://crates.io/crates/async-native-tls) — **Native TLS** for Async. Native TLS for futures and async-std.
|
|
||||||
|
|
||||||
* [async-tungstenite](https://crates.io/crates/async-tungstenite) — Asynchronous **WebSockets** for async-std, tokio, gio and any std Futures runtime.
|
|
||||||
|
|
||||||
* [Tide](https://crates.io/crates/tide) — Serve the web. A modular **web framework** built around async/await.
|
|
||||||
|
|
||||||
* [SQLx](https://crates.io/crates/sqlx) — The Rust **SQL** Toolkit. SQLx is a 100% safe Rust library for Postgres and MySQL with compile-time checked queries.
|
|
||||||
|
|
||||||
* [Surf](https://crates.io/crates/surf) — Surf the web. Surf is a friendly **HTTP client** built for casual Rustaceans and veterans alike.
|
|
||||||
|
|
||||||
* [Xactor](https://crates.io/crates/xactor) — Xactor is a rust actors framework based on async-std.
|
|
||||||
|
|
||||||
* [async-graphql](https://crates.io/crates/async-graphql) — A GraphQL server library implemented in rust, with full support for async/await.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
<sup>
|
<sup>
|
||||||
|
|
|
@ -281,7 +281,7 @@
|
||||||
#![cfg_attr(feature = "docs", feature(doc_cfg))]
|
#![cfg_attr(feature = "docs", feature(doc_cfg))]
|
||||||
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||||
#![allow(clippy::mutex_atomic, clippy::module_inception)]
|
#![allow(clippy::mutex_atomic, clippy::module_inception)]
|
||||||
#![doc(test(attr(deny(rust_2018_idioms, warnings))))]
|
#![doc(test(attr(deny(rust_2018_idioms))))]
|
||||||
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]
|
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]
|
||||||
#![doc(html_logo_url = "https://async.rs/images/logo--hero.svg")]
|
#![doc(html_logo_url = "https://async.rs/images/logo--hero.svg")]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue