mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
Adds a `TypedExecutor` trait that describes how to spawn futures of a specific type. This is useful for implementing functions that are generic over an executor and wish to support both `Send` and `!Send` cases.
26 lines
748 B
TOML
26 lines
748 B
TOML
[package]
|
|
name = "tokio-current-thread"
|
|
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
# - Update doc url
|
|
# - Cargo.toml
|
|
# - README.md
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.1.x" git tag.
|
|
version = "0.1.5"
|
|
documentation = "https://docs.rs/tokio-current-thread/0.1.5/tokio_current_thread"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://github.com/tokio-rs/tokio"
|
|
license = "MIT"
|
|
authors = ["Carl Lerche <[email protected]>"]
|
|
description = """
|
|
Single threaded executor which manage many tasks concurrently on the current thread.
|
|
"""
|
|
keywords = ["futures", "tokio"]
|
|
categories = ["concurrency", "asynchronous"]
|
|
|
|
[dependencies]
|
|
tokio-executor = { version = "0.1.5", path = "../tokio-executor" }
|
|
futures = "0.1.19"
|