# https://doc.rust-lang.org/cargo/reference/manifest.html [package] name = "untokio" version = "0.2.1" authors = ["MaulingMonkey "] repository = "https://github.com/MaulingMonkey/untokio" documentation = "https://docs.rs/untokio/" edition = "2018" license = "Apache-2.0 OR MIT" readme = "Readme.md" description = "Automatically create tokio runtimes" keywords = ["async", "futures", "tokio"] categories = ["asynchronous"] [package.metadata.docs.rs] all-features = true targets = [] [features] default = [] v02 = ["tokio02"] v03 = ["tokio03"] v1 = ["tokio1"] [dependencies] # tokio01 = { package = "tokio", version = "0.1", optional = true, features = ["rt-full"], default-features = false } tokio02 = { package = "tokio", version = "0.2", optional = true, features = ["rt-threaded"] } tokio03 = { package = "tokio", version = "0.3", optional = true, features = ["rt-multi-thread"] } tokio1 = { package = "tokio", version = "1", optional = true, features = ["rt-multi-thread"] } lazy_static = "1" [dev-dependencies] futures = "0.3" # reqwest09 = { package = "reqwest", version = "0.9" } # tokio 0.1 reqwest010 = { package = "reqwest", version = "0.10" } # tokio 0.2 tokio02 = { package = "tokio", version = "0.2", features = ["macros"] } tokio03 = { package = "tokio", version = "0.3", features = ["macros", "rt-multi-thread", "fs"] } tokio1 = { package = "tokio", version = "1", features = ["macros", "rt-multi-thread", "fs"] } [[example]] name = "example02-tokio" required-features = ["v02"] [[example]] name = "example02" required-features = ["v02"] [[example]] name = "example03-tokio" required-features = ["v03"] [[example]] name = "example03" required-features = ["v03"] [[example]] name = "example1-tokio" required-features = ["v1"] [[example]] name = "example1" required-features = ["v1"]