# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "tio" version = "0.1.0" authors = ["Hexilee "] description = "Yet another async io solution.\n" homepage = "https://github.com/Hexilee/tio" documentation = "https://docs.rs/tio" readme = "README.md" keywords = ["async", "await", "future", "std", "task"] categories = ["asynchronous", "concurrency", "network-programming"] license = "MIT" repository = "https://github.com/Hexilee/tio" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] [[bench]] name = "task" path = "benches/task.rs" required-features = ["nightly"] [dependencies.async-task] version = "1.3.1" [dependencies.crossbeam-channel] version = "0.4.2" [dependencies.crossbeam-deque] version = "0.7.3" optional = true [dependencies.crossbeam-queue] version = "0.2.1" optional = true [dependencies.crossbeam-utils] version = "0.7.2" [dependencies.futures] version = "0.3.4" features = ["std"] default-features = false [dependencies.futures-timer] version = "3.0.2" optional = true [dependencies.log] version = "0.4.8" [dependencies.mio] version = "0.7.0" features = ["os-poll"] optional = true [dependencies.num_cpus] version = "1.12.0" optional = true [dependencies.once_cell] version = "1.3.1" [dependencies.slab] version = "0.4.2" optional = true [dev-dependencies.async-std] version = "1.5" features = ["unstable"] [dev-dependencies.tempfile] version = "3.1" [features] async-rt = ["crossbeam-deque", "crossbeam-queue", "num_cpus"] default = ["async-rt"] docs = ["full"] event-loop = ["mio", "slab", "crossbeam-queue"] full = ["net", "async-rt", "timer"] net = ["tcp", "udp", "uds"] nightly = [] tcp = ["mio/tcp", "event-loop"] timer = ["futures-timer"] udp = ["mio/udp", "event-loop"] uds = ["mio/uds", "event-loop"]