# 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.64" name = "gloo-utils" version = "0.2.0" authors = ["Rust and WebAssembly Working Group"] description = "Convenience crate for common `web_sys` features" homepage = "https://github.com/rustwasm/gloo" readme = "README.md" categories = [ "api-bindings", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rustwasm/gloo/tree/master/crates/utils" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.js-sys] version = "0.3" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.web-sys] version = "0.3" features = [ "Document", "History", "HtmlElement", "Location", "Window", "HtmlHeadElement", "Element", ] [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = ["serde"] serde = [ "dep:serde", "dep:serde_json", ]