#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

35 downloads per month
Used in futures-threadpool

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