Skip to content

Bring the Async Rust experience closer to parity with sync Rust #277

Closed
@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @tmandry
Team(s) compiler, lang, libs-api, spec, types
Goal document 2025h1/async

Summary

Over the next six months, we will continue bringing Async Rust up to par with "sync Rust" by doing the following:

  • Telling a complete story for the use of async fn in traits, unblocking wide ecosystem adoption,
  • Improving the ergonomics of Pin, which is frequently used in low-level async code, and
  • Preparing to support asynchronous (and synchronous) generators in the language.

Tasks and status

Overall program management

Return type notation

Unsafe binders

Implementable trait aliases

async fn in dyn Trait

Pin ergonomics

  • Implementation (@eholk)
  • Author RFC (@eholk)
  • Lang-team experiment (lang Team)
  • Lang-team champion (lang Team)

Trait for generators (sync)

Dynosaur 1.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions