#future #tasks #task

no-std futures-spawn

An abstraction for spawning futures

1 unstable release

Uses old Rust 2015

0.1.1 Dec 29, 2016
0.1.0 Dec 28, 2016

#6 in #futures-rs

Download history 6/week @ 2024-07-29 6/week @ 2024-08-05 4/week @ 2024-08-12 3/week @ 2024-08-26 28/week @ 2024-09-16 60/week @ 2024-09-23 70/week @ 2024-09-30 69/week @ 2024-10-07 84/week @ 2024-10-14 108/week @ 2024-10-21 130/week @ 2024-10-28 42/week @ 2024-11-04 250/week @ 2024-11-11

534 downloads per month
Used in 2 crates

MIT/Apache

10KB
134 lines

futures-spawn

An abstraction for values that spawn futures.

Crates.io

Documentation

Overview

futures-rs provides a task abstraction and the ability for custom executors to manage how future execution is scheduled across them.

futures-spawn provides an abstraction representing the act of spawning a future. This enables writing code that is not hard coded to a specific executor.

Roadmap

Ideally, this crate will be merged into futures-rs proper.

License

futures-spawn is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.


lib.rs:

An abstraction for spawning futures

futures-rs provides a task abstraction and the ability for custom executors to manage how future execution is scheduled across them.

futures-spawn provides an abstraction representing the act of spawning a future. This enables writing code that is not hard coded to a specific executor.

Dependencies

~0–1.2MB
~17K SLoC