-
Notifications
You must be signed in to change notification settings - Fork 147
/
Cargo.toml
89 lines (84 loc) · 2.43 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
authors = ["Rust and WebAssembly Working Group"]
description = "A modular toolkit for Rust and WebAssembly"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "gloo"
readme = "README.md"
version = "0.11.0"
repository = "https://github.com/rustwasm/gloo"
homepage = "https://gloo-rs.web.app/"
documentation = "https://docs.rs/gloo/"
categories = ["api-bindings", "wasm"]
rust-version = "1.64"
[dependencies]
gloo-timers = { version = "0.3", path = "crates/timers", optional = true }
gloo-events = { version = "0.2", path = "crates/events", optional = true }
gloo-file = { version = "0.3", path = "crates/file", optional = true }
gloo-dialogs = { version = "0.2", path = "crates/dialogs", optional = true }
gloo-storage = { version = "0.3", path = "crates/storage", optional = true }
gloo-render = { version = "0.2", path = "crates/render", optional = true }
gloo-console = { version = "0.3", path = "crates/console", optional = true }
gloo-utils = { version = "0.2", path = "crates/utils", optional = true }
gloo-history = { version = "0.2", path = "crates/history", optional = true }
gloo-worker = { version = "0.5", path = "crates/worker", optional = true }
gloo-net = { version = "0.6", path = "crates/net", optional = true }
[features]
default = [
"timers",
"events",
"file",
"dialogs",
"storage",
"render",
"console",
"utils",
"history",
"worker",
"net",
]
futures = [
"timers",
"file",
"worker",
"gloo-timers/futures",
"gloo-file/futures",
"gloo-worker/futures",
]
timers = ["gloo-timers"]
events = ["gloo-events"]
file = ["gloo-file"]
dialogs = ["gloo-dialogs"]
storage = ["gloo-storage"]
render = ["gloo-render"]
console = ["gloo-console"]
utils = ["gloo-utils"]
history = ["gloo-history"]
worker = ["gloo-worker"]
net = ["gloo-net"]
[workspace]
members = [
"crates/timers",
"crates/events",
"crates/net",
"crates/file",
"crates/dialogs",
"crates/storage",
"crates/console",
"crates/utils",
"crates/history",
"crates/worker",
"crates/worker-macros",
"crates/net",
"examples/markdown",
"examples/clock",
"examples/file-hash",
"examples/history-wasi",
"examples/prime",
]
# Passing arguments to the docsrs builder in order to properly document cfg's.
# More information: https://docs.rs/about/builds#cross-compiling
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]