# 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 = "enfync" version = "0.1.6" authors = ["koe "] description = "Environment-friendly async utilities" readme = "README.md" keywords = [ "async", "wasm", "native", ] license = "MIT OR Apache-2.0" repository = "https://github.com/UkoeHB/enfync" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev-wasm] panic = "abort" inherits = "dev" [profile.release] lto = true codegen-units = 1 strip = true [profile.release-small] opt-level = "s" lto = "fat" inherits = "release" [profile.release-small.package."*"] opt-level = "s" strip = true [profile.release-wasm] panic = "abort" inherits = "release-small" [profile.release-wasm.package."*"] opt-level = "s" strip = true [lib] path = "src/lib.rs" test = false doctest = false [[test]] name = "test" path = "tests/test/mod.rs" doctest = false [dependencies.async-trait] version = "0.1" [dependencies.futures] version = "0.3" [features] builtin = [] default = ["builtin"] [target."cfg(not(target_family = \"wasm\"))".dependencies.tokio] version = "1.29" features = [ "rt-multi-thread", "time", ] default-features = false [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen] version = "0.2" [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen-futures] version = "0.4" [target."cfg(target_family = \"wasm\")".dependencies.wasmtimer] version = "0.2" [target."cfg(target_family = \"wasm\")".dev-dependencies.wasm-bindgen-test] version = "0.3" [target."cfg(target_family = \"wasm\")".dev-dependencies.web-sys] version = "0.3" features = ["console"]