# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "async-transport" version = "0.5.0" authors = ["Rusty Rain "] description = "Asynchronous transports with ECN information" homepage = "https://retty.io" documentation = "https://docs.rs/async-transport" readme = "README.md" keywords = [ "networking", "protocols", ] categories = [ "network-programming", "asynchronous", ] license = "MIT/Apache-2.0" repository = "https://github.com/retty-io/async-transport" [dependencies.async-io] version = "2.3.1" optional = true [dependencies.async-std] version = "1.12.0" optional = true [dependencies.libc] version = "0.2.153" [dependencies.smol] version = "2.0.0" optional = true [dependencies.socket2] version = "0.5.6" [dependencies.tokio] version = "1.36.0" optional = true [dependencies.tracing] version = "0.1.40" [dev-dependencies.anyhow] version = "1.0.80" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.log] version = "0.4.21" [dev-dependencies.tokio] version = "1.36.0" features = ["full"] [features] default = ["runtime-smol"] runtime-async-std = [ "async-io", "async-std", ] runtime-smol = [ "async-io", "smol", ] runtime-tokio = ["tokio/net"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = ["Win32_Networking_WinSock"]