# 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 = "spawns-compat" version = "0.2.1" authors = ["Kezhu Wang "] description = "Async runtime detections for thread context task spawner" homepage = "https://github.com/kezhuw/spawns" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/kezhuw/spawns" [package.metadata.docs.rs] all-features = true [dependencies.async-global-executor] version = "2" optional = true [dependencies.linkme] version = "0.3.25" optional = true [dependencies.smol] version = "2.0.0" optional = true [dependencies.spawns-core] version = "1.1.0" optional = true [dependencies.tokio] version = "1" features = ["rt"] optional = true [dev-dependencies.async-std] version = "1.12.0" [dev-dependencies.futures-lite] version = "2.3.0" [dev-dependencies.tokio] version = "1.37.0" features = ["full"] [features] async-global-executor = [ "linkme", "spawns-core/compat", "dep:async-global-executor", ] default = [] smol = [ "linkme", "spawns-core/compat", "dep:smol", ] tokio = [ "linkme", "spawns-core/compat", "dep:tokio", ]