async-rs / async-rs/async-std

Add "runtime" feature flag?

Open
#438 8 comments 1 reaction 0 assignees View on GitHub
api design feedback wanted
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

Some people want to use `async-std` for its channels, streams, and such without pulling in the actual runtime (networking driver and executor).

Perhaps we should consider introducing `runtime` feature flag, which would be enabled by default and would enable modules `fs`, `net`, `os`, `process`, and `task` modules.

We should then also pick a name for the core parts of `async-std`, perhaps we could have them behind a new `core` feature flag?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.