[package] name = "rtx" description = "RTx is a zero-cost runtime-abstraction intended for use by Rust libraries to enable the Freedom of Choice between asynchronous runtimes." version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" documentation = "https://docs.rs/rtx" repository = "https://github.com/launchbadge/rtx" keywords = [ "generic", "async", "tokio", "async-std" ] categories = [ "asynchronous" ] [features] default = [] blocking = [] async = [ "futures-io", "futures-core", "futures-util" ] tokio = [ "tokio_", "async" ] async-std = [ "async-std_", "async", "async-io" ] [dependencies] async-std_ = { version = "1.10.0", optional = true, package = "async-std" } async-io = { version = "1.6.0", optional = true } tokio_ = { version = "1.15.0", optional = true, features = [ "net", "rt" ], package = "tokio" } futures-core = { version = "0.3.19", optional = true } futures-io = { version = "0.3.19", optional = true } futures-util = { version = "0.3.19", optional = true, features = [ "io" ] } smallvec = "1.8.0" pin-project-lite = "0.2.8"