-
Notifications
You must be signed in to change notification settings - Fork 153
/
Copy pathCargo.toml
43 lines (37 loc) · 951 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "gloo-utils"
version = "0.2.0"
edition = "2021"
description = "Convenience crate for common `web_sys` features"
authors = ["Rust and WebAssembly Working Group"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rustwasm/gloo/tree/master/crates/utils"
homepage = "https://github.com/rustwasm/gloo"
categories = ["api-bindings", "wasm"]
rust-version = "1.64"
[dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
[dependencies.web-sys]
version = "0.3"
features = [
"Document",
"History",
"HtmlElement",
"Location",
"Window",
"HtmlHeadElement",
"Element",
]
[features]
default = ["serde"]
serde = ["dep:serde", "dep:serde_json"]
[dev-dependencies]
wasm-bindgen-test = "0.3"
serde_derive = "1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]