mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
This patch adds a new crate: tokio-fs. This crate provides a wrapper around `std` functionality that can only be performed using blocking operations. This primarily includes filesystem operations, but it also includes standard input, output, and error access as these streams cannot be safely switched to non-blocking mode in a portable way. These wrappers call the `std` functions from within a `blocking` annotation which allows the runtime to compensate for the fact that the thread will potentially remain blocked in a system call.
69 lines
1.7 KiB
TOML
69 lines
1.7 KiB
TOML
[package]
|
|
name = "tokio"
|
|
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
# - Update CHANGELOG.md.
|
|
# - Create "v0.1.x" git tag.
|
|
version = "0.1.5"
|
|
authors = ["Carl Lerche <[email protected]>"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
documentation = "https://docs.rs/tokio/0.1"
|
|
description = """
|
|
An event-driven, non-blocking I/O platform for writing asynchronous I/O
|
|
backed applications.
|
|
"""
|
|
categories = ["asynchronous", "network-programming"]
|
|
keywords = ["io", "async", "non-blocking", "futures"]
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
"./",
|
|
"tokio-executor",
|
|
"tokio-fs",
|
|
"tokio-io",
|
|
"tokio-reactor",
|
|
"tokio-threadpool",
|
|
"tokio-timer",
|
|
"tokio-tcp",
|
|
"tokio-udp",
|
|
"futures2",
|
|
]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "tokio-rs/tokio" }
|
|
appveyor = { repository = "carllerche/tokio", id = "s83yxhy9qeb58va7" }
|
|
|
|
[dependencies]
|
|
tokio-io = { version = "0.1.6", path = "tokio-io" }
|
|
tokio-executor = { version = "0.1.2", path = "tokio-executor" }
|
|
tokio-reactor = { version = "0.1.1", path = "tokio-reactor" }
|
|
tokio-threadpool = { version = "0.1.2", path = "tokio-threadpool" }
|
|
tokio-tcp = { version = "0.1.0", path = "tokio-tcp" }
|
|
tokio-udp = { version = "0.1.0", path = "tokio-udp" }
|
|
tokio-timer = { version = "0.2.1", path = "tokio-timer" }
|
|
tokio-fs = { version = "0.1.0", path = "tokio-fs" }
|
|
|
|
futures = "0.1.20"
|
|
|
|
# Needed until `reactor` is removed from `tokio`.
|
|
mio = "0.6.14"
|
|
|
|
[dev-dependencies]
|
|
bytes = "0.4"
|
|
env_logger = { version = "0.4", default-features = false }
|
|
flate2 = { version = "1", features = ["tokio"] }
|
|
futures-cpupool = "0.1"
|
|
http = "0.1"
|
|
httparse = "1.0"
|
|
libc = "0.2"
|
|
num_cpus = "1.0"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
time = "0.1"
|