{"id":13484758,"url":"https://github.com/async-rs/async-std","last_synced_at":"2026-01-12T06:07:22.959Z","repository":{"id":37550209,"uuid":"201257663","full_name":"async-rs/async-std","owner":"async-rs","description":"Async version of the Rust standard library","archived":false,"fork":false,"pushed_at":"2025-03-15T22:04:42.000Z","size":2327,"stargazers_count":4040,"open_issues_count":194,"forks_count":341,"subscribers_count":63,"default_branch":"main","last_synced_at":"2025-05-13T01:43:28.130Z","etag":null,"topics":["async","async-await","async-rust","async-std","rust"],"latest_commit_sha":null,"homepage":"https://async.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/async-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-08T12:52:13.000Z","updated_at":"2025-05-12T04:29:29.000Z","dependencies_parsed_at":"2024-11-05T18:36:09.044Z","dependency_job_id":"a47188ba-4a99-47e7-b703-1ab4bdc7693c","html_url":"https://github.com/async-rs/async-std","commit_stats":{"total_commits":1221,"total_committers":156,"mean_commits":7.826923076923077,"dds":0.8656838656838657,"last_synced_commit":"fa29b508e138ee0c91873039bc28cb71a4546460"},"previous_names":["async-std/async-std"],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/async-rs%2Fasync-std","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/async-rs%2Fasync-std/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/async-rs%2Fasync-std/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/async-rs%2Fasync-std/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/async-rs","download_url":"https://codeload.github.com/async-rs/async-std/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253968259,"owners_count":21992253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","async-await","async-rust","async-std","rust"],"created_at":"2024-07-31T17:01:32.721Z","updated_at":"2026-01-12T06:07:22.918Z","avatar_url":"https://github.com/async-rs.png","language":"Rust","readme":"# `async-std` has been discontinued; use `smol` instead\n\nWe created `async-std` to demonstrate the value of making a library as close to\n`std` as possible, but async. We think that demonstration was successful, and\nwe hope it will influence future design and development directions of async in\n`std`. However, in the meantime, the [`smol`](https://github.com/smol-rs/smol/)\nproject came about and provided a great executor and libraries for asynchronous\nuse in the Rust ecosystem. We think that resources would be better spent\nconsolidating around `smol`, rather than continuing to provide occasional\nmaintenance of `async-std`. As such, we recommend that all users of\n`async-std`, and all libraries built on `async-std`, switch to `smol` instead.\n\nIn addition to the `smol` project as a direct replacement, you may find other\nparts of the futures ecosystem useful, including `futures-concurrency`,\n`async-io`, `futures-lite`, and `async-compat`.\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://docs.rs/async-std\"\u003e\n      API Docs\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://book.async.rs\"\u003e\n      Book\n    \u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\nThis crate provides an async version of [`std`]. It provides all the interfaces\nyou are used to, but in an async version and ready for Rust's `async`/`await`\nsyntax.\n\n[`std`]: https://doc.rust-lang.org/std/index.html\n\n## Features\n\n- __Modern:__ Built from the ground up for `std::future` and `async/await` with\n    blazing fast compilation time.\n- __Fast:__ Our robust allocator and threadpool designs provide ultra-high\n    throughput with predictably low latency.\n- __Intuitive:__ Complete parity with the stdlib means you only need to learn\n    APIs once.\n- __Clear:__ [Detailed documentation][docs] and [accessible guides][book] mean\n    using async Rust was never easier.\n\n[docs]: https://docs.rs/async-std\n[book]: https://book.async.rs\n\n## Examples\n\n```rust\nuse async_std::task;\n\nasync fn say_hello() {\n    println!(\"Hello, world!\");\n}\n\nfn main() {\n    task::block_on(say_hello())\n}\n```\n\nMore examples, including networking and file access, can be found in our\n[`examples`] directory and in our [documentation].\n\n[`examples`]: https://github.com/async-rs/async-std/tree/HEAD/examples\n[documentation]: https://docs.rs/async-std#examples\n[`task::block_on`]: https://docs.rs/async-std/*/async_std/task/fn.block_on.html\n[`\"attributes\"` feature]: https://docs.rs/async-std/#features\n\n## Philosophy\n\nWe believe Async Rust should be as easy to pick up as Sync Rust. We also believe\nthat the best API is the one you already know. And finally, we believe that\nproviding an asynchronous counterpart to the standard library is the best way\nstdlib provides a reliable basis for both performance and productivity.\n\nAsync-std is the embodiment of that vision. It combines single-allocation task\ncreation, with an adaptive lock-free executor, threadpool and network driver to\ncreate a smooth system that processes work at a high pace with low latency,\nusing Rust's familiar stdlib API.\n\n## License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr/\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","funding_links":[],"categories":["HarmonyOS","Rust","Libraries"],"sub_categories":["Windows Manager","Asynchronous"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasync-rs%2Fasync-std","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasync-rs%2Fasync-std","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasync-rs%2Fasync-std/lists"}