Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96f5646

Browse files
authored
Merge pull request#1099 from joshtriplett/🌇
Officially sunset async-std
2 parentsfa29b50 +fb56bff commit96f5646

File tree

4 files changed

+23
-77
lines changed

4 files changed

+23
-77
lines changed

‎CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to async-std will be documented in this file.
55
The format is based on[Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to[Semantic Versioning](https://book.async.rs/overview/stability-guarantees.html).
77

8+
#[1.13.1] - 2025-02-21
9+
10+
`async-std` has officially been discontinued. We recommend that all users and
11+
libraries migrate to the excellent[`smol`](https://github.com/smol-rs/smol/)
12+
project.
13+
814
#[1.13.0] - 2024-09-06
915

1016
##Added

‎Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="async-std"
3-
version ="1.13.0"
3+
version ="1.13.1"
44
authors = [
55
"Stjepan Glavina <stjepang@gmail.com>",
66
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
@@ -12,7 +12,7 @@ rust-version = "1.63"
1212
license ="Apache-2.0 OR MIT"
1313
repository ="https://github.com/async-rs/async-std"
1414
homepage ="https://async.rs"
15-
description ="Async version of the Rust standard library"
15+
description ="Deprecated in favor of `smol` -Async version of the Rust standard library"
1616
keywords = ["async","await","future","std","task"]
1717
categories = ["asynchronous","concurrency","network-programming"]
1818

‎README.md

Lines changed: 14 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,19 @@
1-
<h1align="center">async-std</h1>
2-
<divalign="center">
3-
<strong>
4-
Async version of the Rust standard library
5-
</strong>
6-
</div>
1+
#`async-std` has been discontinued; use`smol` instead
72

8-
<br />
3+
We created`async-std` to demonstrate the value of making a library as close to
4+
`std` as possible, but async. We think that demonstration was successful, and
5+
we hope it will influence future design and development directions of async in
6+
`std`. However, in the meantime, the[`smol`](https://github.com/smol-rs/smol/)
7+
project came about and provided a great executor and libraries for asynchronous
8+
use in the Rust ecosystem. We think that resources would be better spent
9+
consolidating around`smol`, rather than continuing to provide occasional
10+
maintenance of`async-std`. As such, we recommend that all users of
11+
`async-std`, and all libraries built on`async-std`, switch to`smol` instead.
12+
13+
In addition to the`smol` project as a direct replacement, you may find other
14+
parts of the futures ecosystem useful, including`futures-concurrency`,
15+
`async-io`,`futures-lite`, and`async-compat`.
916

10-
<divalign="center">
11-
<!-- CI status-->
12-
<ahref="https://github.com/async-rs/async-std/actions">
13-
<img src="https://img.shields.io/github/actions/workflow/status/async-rs/async-std/ci.yml?branch=main&style=flat-square"
14-
alt="CI Status" />
15-
</a>
16-
<!-- Crates version-->
17-
<ahref="https://crates.io/crates/async-std">
18-
<img src="https://img.shields.io/crates/v/async-std.svg?style=flat-square"
19-
alt="Crates.io version" />
20-
</a>
21-
<!-- Downloads-->
22-
<ahref="https://crates.io/crates/async-std">
23-
<img src="https://img.shields.io/crates/d/async-std.svg?style=flat-square"
24-
alt="Download" />
25-
</a>
26-
<!-- docs.rs docs-->
27-
<ahref="https://docs.rs/async-std">
28-
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
29-
alt="docs.rs docs" />
30-
</a>
31-
32-
<ahref="https://discord.gg/JvZeVNe">
33-
<img src="https://img.shields.io/discord/598880689856970762.svg?logo=discord&style=flat-square"
34-
alt="chat" />
35-
</a>
36-
</div>
3717

3818
<divalign="center">
3919
<h3>
@@ -44,14 +24,6 @@
4424
<a href="https://book.async.rs">
4525
Book
4626
</a>
47-
<span> | </span>
48-
<a href="https://github.com/async-rs/async-std/releases">
49-
Releases
50-
</a>
51-
<span> | </span>
52-
<a href="https://async.rs/contribute">
53-
Contributing
54-
</a>
5527
</h3>
5628
</div>
5729

@@ -111,38 +83,6 @@ creation, with an adaptive lock-free executor, threadpool and network driver to
11183
create a smooth system that processes work at a high pace with low latency,
11284
using Rust's familiar stdlib API.
11385

114-
##Installation
115-
116-
Run this in your projects folder:
117-
118-
```sh
119-
$ cargo add async-std
120-
```
121-
122-
We also provide a set of "unstable" features with async-std. See the[features
123-
documentation] on how to enable them.
124-
125-
[cargo add]:https://doc.rust-lang.org/cargo/commands/cargo-add.html
126-
[features documentation]:https://docs.rs/async-std/#features
127-
128-
##Ecosystem
129-
130-
*[async-tls](https://crates.io/crates/async-tls) — Async TLS/SSL streams using**Rustls**.
131-
132-
*[async-native-tls](https://crates.io/crates/async-native-tls)**Native TLS** for Async. Native TLS for futures and async-std.
133-
134-
*[async-tungstenite](https://crates.io/crates/async-tungstenite) — Asynchronous**WebSockets** for async-std, tokio, gio and any std Futures runtime.
135-
136-
*[Tide](https://crates.io/crates/tide) — Serve the web. A modular**web framework** built around async/await.
137-
138-
*[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.
139-
140-
*[Surf](https://crates.io/crates/surf) — Surf the web. Surf is a friendly**HTTP client** built for casual Rustaceans and veterans alike.
141-
142-
*[Xactor](https://crates.io/crates/xactor) — Xactor is a rust actors framework based on async-std.
143-
144-
*[async-graphql](https://crates.io/crates/async-graphql) — A GraphQL server library implemented in rust, with full support for async/await.
145-
14686
##License
14787

14888
<sup>

‎src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
#![cfg_attr(feature ="docs", feature(doc_cfg))]
282282
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
283283
#![allow(clippy::mutex_atomic, clippy::module_inception)]
284-
#![doc(test(attr(deny(rust_2018_idioms, warnings))))]
284+
#![doc(test(attr(deny(rust_2018_idioms))))]
285285
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]
286286
#![doc(html_logo_url ="https://async.rs/images/logo--hero.svg")]
287287

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp