# 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 = "js-utils" version = "0.1.5" authors = ["zduny "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Useful utilities to make development of browser-targeted Rust applications slightly less painful." documentation = "https://docs.rs/js-utils/" readme = "README.md" keywords = [ "js", "javascript", "wasm", "browser", "web", ] license = "Apache-2.0" repository = "https://github.com/zduny/js-utils" [lib] name = "js_utils" path = "src/lib.rs" [dependencies.console_error_panic_hook] version = "0.1.7" optional = true [dependencies.futures] version = "0.3.31" optional = true [dependencies.wasm-bindgen] version = "0.2.95" [dependencies.wasm-bindgen-futures] version = "0.4.45" optional = true [dependencies.web-sys] version = "0.3.72" features = [ "Window", "Document", "HtmlElement", ] [dependencies.zduny-wasm-timer] version = "0.2.8" optional = true [dev-dependencies.wasm-bindgen] version = "0.2.95" [dev-dependencies.wasm-bindgen-test] version = "0.3.45" [dev-dependencies.web-sys] version = "0.3.72" features = ["MouseEvent"] [features] default = [ "panic_hook", "spawn", "sleep", "queue", "event", ] event = ["futures"] panic_hook = ["console_error_panic_hook"] queue = ["futures"] sleep = [ "futures", "zduny-wasm-timer", ] spawn = [ "futures", "wasm-bindgen-futures", ]