[package] name = "tio" version = "0.1.0" authors = ["Hexilee "] edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/Hexilee/tio" documentation = "https://docs.rs/tio" homepage = "https://github.com/Hexilee/tio" description = """ Yet another async io solution. """ keywords = ["async", "await", "future", "std", "task"] categories = ["asynchronous", "concurrency", "network-programming"] [package.metadata.docs.rs] features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-task = "1.3.1" crossbeam-utils = "0.7.2" crossbeam-channel = "0.4.2" once_cell = "1.3.1" log = "0.4.8" num_cpus = { version = "1.12.0", optional = true } crossbeam-deque = { version = "0.7.3", optional = true } crossbeam-queue = { version = "0.2.1", optional = true } mio = { version = "0.7.0", features = ["os-poll"], optional = true } slab = { version = "0.4.2", optional = true } futures-timer = { version = "3.0.2", optional = true } [dependencies.futures] version = "0.3.4" default-features = false features = ["std"] [dev-dependencies] async-std = { version = "1.5", features = ["unstable"] } tempfile = "3.1" [[bench]] name = "task" path = "benches/task.rs" required-features = ["nightly"] [features] nightly = [] docs = ["full"] full = ["net", "async-rt", "timer"] default = ["async-rt"] async-rt = ["crossbeam-deque", "crossbeam-queue", "num_cpus"] timer = ["futures-timer"] net = ["tcp", "udp", "uds"] tcp = ["mio/tcp", "event-loop"] udp = ["mio/udp", "event-loop"] uds = ["mio/uds", "event-loop"] event-loop = ["mio", "slab", "crossbeam-queue"]