-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
85 lines (70 loc) · 1.45 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
[workspace]
members = ["./", "./webio-macros"]
[package]
name = "webio"
version = "0.1.0-alpha-1"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen-futures = "^0.4.30"
pin-project = "1.0.7"
[dependencies.wasm-bindgen-test]
version = "^0.3.30"
optional = true
[dependencies.futures]
version = "^0.3.21"
optional = true
[dependencies.js-sys]
version = "^0.3.57"
optional = true
[dependencies.wasm-bindgen]
version = "^0.2.80"
optional = true
[dependencies.web-sys]
version = "^0.3.57"
optional = true
[dependencies.webio-macros]
path = "./webio-macros"
optional = true
[dependencies.console_error_panic_hook]
version = "^0.1.7"
optional = true
[dev-dependencies.wasm-bindgen-test]
version = "^0.3.30"
[dev-dependencies.web-sys]
version = "^0.3.57"
features = [
"Window",
"Document",
"Element",
"HtmlElement",
"HtmlInputElement",
]
[dev-dependencies.num]
version = "0.4.0"
[dev-dependencies.webio]
path = "."
features = ["time", "macros", "stream", "event"]
[features]
default = ["time", "macros", "event"]
time = ["wasm-bindgen", "js-sys"]
macros = [
"webio-macros",
"wasm-bindgen",
"wasm-bindgen-test",
"js-sys",
"web-sys/console",
"console_error_panic_hook",
]
stream = ["futures"]
event = [
"wasm-bindgen",
"web-sys/EventTarget",
"web-sys/MouseEvent",
"web-sys/KeyboardEvent",
"web-sys/DragEvent",
"web-sys/FocusEvent",
"web-sys/UiEvent",
]
feature-doc-cfg = []