# 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" name = "ewe_spawn" version = "0.0.1" authors = ["EweStudios Consulting Limited"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Utilities for spawing or sending functions into background threads for web and non-web environment" readme = "README.md" keywords = [ "ewe_platform", "ewestudios-platform", "ewestudios_platform", ] license = "Apache-2.0" repository = "https://github.com/ewe-studios/ewe_platform" [lib] name = "ewe_spawn" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.cfg-if] version = "1.0" [dependencies.futures] version = "0.3" [dependencies.thiserror] version = "1.0.57" [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.wasm-bindgen] version = "0.2.29" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4.42" optional = true [dev-dependencies.tokio-test] version = "0.4" [features] default = [] server = ["dep:tokio"] web = [ "dep:wasm-bindgen", "dep:wasm-bindgen-futures", ] [lints.clippy] blocks_in_conditions = "allow" items-after-statements = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" no-effect-underscore-binding = "allow" pedantic = "warn"