# 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.80" name = "ianaio-utils" version = "0.1.1" authors = ["Jaroslaw Cichon IanaIO Rust and WebAssembly Working Group"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Convenience crate for common `web_sys` features" homepage = "https://rustwasm.ianaio/utils" documentation = "https://docs.iana.io/rustwasm/utils" readme = "README.md" categories = [ "api-bindings", "wasm", ] license-file = "LICENSE.txt" repository = "https://github.com/ianaio/utils" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ianaio_utils" path = "src/lib.rs" [[test]] name = "serde" path = "tests/serde.rs" [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", ]