-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
67 lines (63 loc) · 1.2 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
[package]
name = "yew-mdc"
version = "0.1.0"
authors = ["Follpvosten <wolfi@karpador.xyz>"]
edition = "2018"
[features]
default = [
"button",
"fab",
"icon-button",
"text-field",
"menu",
"drawer",
"top-app-bar",
"dialog",
"card",
"snackbar",
"switch",
"list",
"slider",
"data-table",
"image-list",
"tabs",
]
button = []
fab = []
icon-button = []
text-field = []
menu = []
drawer = []
top-app-bar = []
card = []
# These are required to use the data returned by a dialog.
dialog = ["serde", "serde_json", "wasm-bindgen/serde-serialize"]
snackbar = []
switch = []
list = []
slider = []
data-table = []
image-list = []
tabs = ["serde", "serde_json", "wasm-bindgen/serde-serialize"]
[dependencies]
yew = { version = "0.17", default-features = false, features = ["web_sys"] }
wasm-bindgen = "0.2"
js-sys = "0.3"
lazy_static = "*"
cfg-if = "0.1"
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
[dependencies.web-sys]
version = "0.3"
features = [
"Element",
"Window",
"Document",
"Event",
"CustomEvent",
]
[dev-dependencies]
wasm-bindgen-test = "0.3"
futures = "0.3"
js-sys = "0.3"
wasm-bindgen-futures = "0.4"