# 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" rust-version = "1.75.0" name = "agnostic-lite" version = "0.3.15" description = "`agnostic-lite` is WASM friendly and light version of `agnostic`, for users who want to write async runtime-agnostic crate." homepage = "https://github.com/al8n/agnostic" documentation = "https://docs.rs/agnostic-lite" readme = "README.md" keywords = [ "async", "runtime", "agnostic", "trait", ] categories = [ "asynchronous", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/al8n/agnostic" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-io] version = "2" optional = true [dependencies.async-std] version = "0.2" features = [ "default", "unstable", ] optional = true default-features = false package = "feature-extension-for-async-std" [dependencies.atomic-time] version = "0.1" optional = true [dependencies.futures-util] version = "0.3" default-features = false [dependencies.paste] version = "1" optional = true [dependencies.pin-project] version = "1" [dependencies.pin-project-lite] version = "0.2" [dependencies.smol] version = "0.2" optional = true default-features = false package = "feature-extension-for-smol" [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [dev-dependencies.futures] version = "0.3" features = ["executor"] [dev-dependencies.tokio] version = "1" features = ["full"] default-features = false [features] async-io = [ "dep:async-io", "time", ] async-std = [ "dep:async-std", "async-io", ] default = ["std"] smol = [ "dep:smol", "async-io", ] std = [] test = ["time"] time = [ "std", "atomic-time", "paste", "tokio?/time", "tokio?/macros", "tokio?/sync", "wasm?/time", "wasm?/channel", "smol?/time", "smol?/channel", "async-std?/time", "async-std?/channel", ] tokio = ["dep:tokio"] wasm = [ "std", "dep:wasm", "wasm/channel", "futures-util/async-await-macro", "futures-util/async-await", "futures-util/std", ] [target."cfg(not(target_family = \"wasm\"))".dependencies.wasm] version = "0.2" optional = true package = "feature-extension-for-wasm-bindgen-futures" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3" [target."cfg(target_family = \"wasm\")".dependencies.wasm] version = "0.2" features = ["wasm-bindgen"] optional = true package = "feature-extension-for-wasm-bindgen-futures"