# 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_executors" version = "0.7.0" authors = ["Naja Melan "] exclude = [ "examples", "tests", "TODO.md", "deny.toml", ".travis.yml", "CONTRIBUTING.md", ] description = "Implements Spawn, SpawnLocal and SpawnHandle for commonly used executors." documentation = "https://docs.rs/async_executors" readme = "README.md" keywords = [ "async", "executor", "futures", ] categories = [ "asynchronous", "concurrency", ] license = "Unlicense" repository = "https://github.com/najamelan/async_executors" [package.metadata.docs.rs] all-features = true targets = [] [profile.release] codegen-units = 1 [[example]] name = "async_std" path = "examples/async_std.rs" required-features = [ "notwasm", "async_std", ] [[example]] name = "tokio_ct" path = "examples/tokio_ct.rs" required-features = [ "notwasm", "tokio_ct", ] [[example]] name = "tokio_tp" path = "examples/tokio_tp.rs" required-features = [ "notwasm", "tokio_tp", ] [[example]] name = "spawn_handle_multi" path = "examples/spawn_handle_multi.rs" required-features = [ "notwasm", "async_std", ] [[example]] name = "trait_set" path = "examples/trait_set.rs" required-features = [ "notwasm", "async_std", ] [[example]] name = "tracing" path = "examples/tracing.rs" required-features = [ "notwasm", "tracing", "async_std", ] [[example]] name = "glommio_ct" path = "examples/glommio_ct.rs" required-features = [ "notwasm", "glommio", ] [[example]] name = "timer" path = "examples/timer.rs" required-features = [ "notwasm", "async_std", "tokio_ct", "tokio_timer", ] [[example]] name = "tokio_io" path = "examples/tokio_io.rs" required-features = [ "notwasm", "async_global_tokio", "async_std_tokio", "tokio_ct", "tokio_io", ] [[example]] name = "yield_now" path = "examples/yield_now.rs" required-features = [ "notwasm", "tokio_ct", ] [dependencies.async-global-executor] version = "^2" optional = true default-features = false [dependencies.async_std_crate] version = "^1.6" features = ["unstable"] optional = true package = "async-std" [dependencies.blanket] version = "^0.3" [dependencies.futures-core] version = "^0.3" [dependencies.futures-executor] version = "^0.3" optional = true [dependencies.futures-task] version = "^0.3" [dependencies.futures-timer] version = "^3" optional = true [dependencies.futures-util] version = "^0.3" features = ["channel"] [dependencies.glommio_crate] version = "^0.8" optional = true package = "glommio" [dependencies.pin-project] version = "^1" [dependencies.tokio] version = "^1" optional = true [dependencies.tracing-futures] version = "^0.2" features = ["futures-03"] optional = true [dependencies.wasm-bindgen-futures] version = "^0.4" optional = true [dev-dependencies.futures] version = "^0.3" features = ["thread-pool"] [dev-dependencies.static_assertions] version = "^1" [dev-dependencies.tokio] version = "^1" features = [ "macros", "rt", ] [dev-dependencies.tracing-subscriber] version = "^0.3.5" features = ["fmt"] default-features = false [dev-dependencies.tracing_crate] version = "^0.1" package = "tracing" [dev-dependencies.trait-set] version = "^0.3" [build-dependencies.rustc_version] version = "^0.4" [features] async_global = ["async-global-executor"] async_global_tokio = [ "async_global", "async-global-executor/tokio", ] async_std = ["async_std_crate"] async_std_tokio = [ "async_std", "async_std_crate/tokio1", ] bindgen = ["wasm-bindgen-futures"] default = ["notwasm"] glommio = ["glommio_crate"] localpool = ["futures-executor"] notwasm = [] threadpool = ["futures-executor/thread-pool"] timer = ["futures-timer"] tokio_ct = ["tokio/rt"] tokio_io = [ "tokio/net", "tokio/process", ] tokio_timer = ["tokio/time"] tokio_tp = ["tokio/rt-multi-thread"] tracing = ["tracing-futures"] [target."cfg(not(target_os = \"unknown\"))".dev-dependencies.futures-timer] version = "^3" [target."cfg(not(target_os = \"unknown\"))".dev-dependencies.tokio] version = "^1" features = [ "io-util", "net", "rt-multi-thread", ] [target."cfg(target_arch = \"wasm32\")".dependencies.futures-timer] version = "^3" features = ["wasm-bindgen"] optional = true [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "^0.3" [badges.maintenance] status = "actively-developed" [badges.travis-ci] repository = "najamelan/async_executors"