gloo-utils 0.3.0

Convenience crate for common `web_sys` features
Documentation
# 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.82"
name = "gloo-utils"
version = "0.3.0"
authors = ["Rust and WebAssembly Working Group"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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",
]

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "gloo_utils"
path = "src/lib.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[dependencies.js-sys]
version = "0.3.91"

[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.45"