mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
This patch adds experimental async/await support to Tokio. It does this by adding feature flags to existing libs only where necessary in order to add nightly specific code (mostly `Unpin` implementations). It then provides a new crate: `tokio-async-await` which is a shim layer on top of `tokio`. The `tokio-async-await` crate is expected to look exactly like `tokio` does, but with async / await support. This strategy reduces the amount of cfg guarding in the main libraries. This patch also adds `tokio-channel`, which is copied from futures-rs 0.1 and adds the necessary `Unpin` implementations. In general, futures 0.1 is mostly unmaintained, so it will make sense for Tokio to take over maintainership of key components regardless of async / await support.
26 lines
653 B
TOML
26 lines
653 B
TOML
[package]
|
|
name = "tokio-channel"
|
|
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.1.x" git tag.
|
|
version = "0.1.0"
|
|
authors = ["Carl Lerche <[email protected]>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
documentation = "https://docs.rs/tokio-channel/0.1.0"
|
|
description = """
|
|
Channels for asynchronous communication using Tokio.
|
|
"""
|
|
categories = ["asynchronous"]
|
|
|
|
[features]
|
|
# This feature comes with no promise of stability. Things will break with each
|
|
# patch release. Use at your own risk.
|
|
async-await-preview = []
|
|
|
|
[dependencies]
|
|
futures = "0.1.23"
|