forked from eopb/planters-rdconf-hackathon-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
executable file
·118 lines (110 loc) · 2.53 KB
/
Cargo.toml
File metadata and controls
executable file
·118 lines (110 loc) · 2.53 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "planters-rdconf-hackathon-project"
version = "0.0.1"
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
seed = { git = "https://github.com/seed-rs/seed", rev = "0a538f0" }
seed_hooks = {git = "https://github.com/rebo/seed_hooks"}
seed_style = { package = "seed_style_preview", git="https://github.com/rebo/seed_style_preview" }
js-sys = "0.3.44"
rand = "0.7.3"
# Un comment if we want to use serde/wasmbindgen/futures directily - perhaps for fetch
# serde = { version = "1.0", features = ["derive"] }
# serde_json = "1.0"
# wasm-bindgen-futures = "0.4.13"
# wasm-bindgen = "^0.2.62"
# futures = "0.3.5"
[dev-dependencies]
wasm-bindgen-test = "0.3.12"
[profile.release] # Attempts to minimize file size
lto = true
opt-level = 'z'
[dependencies.web-sys]
version = "0.3.40"
features = [
"AudioContext",
'AudioDestinationNode',
'AudioNode',
'AudioParam',
'GainNode',
'OscillatorNode',
'OscillatorType',
'HtmlCanvasElement',
'Element',
'CanvasRenderingContext2d',
'Document',
'Window',
'Navigator',
# "DomTokenList",
# "AbortController",
# "AbortSignal",
# "BeforeUnloadEvent",
# "Blob",
# "BinaryType",
# "CanvasRenderingContext2d",
# "CloseEvent",
# "console",
# "CustomEvent",
# "CustomEventInit",
# "DataTransfer",
# "Document",
# "DomException",
# "DragEvent",
# "Element",
# "Event",
# "EventTarget",
# "File",
# "FormData",
# "HashChangeEvent",
# "Headers",
# "History",
# "HtmlElement",
# "HtmlCanvasElement",
# "HtmlCollection",
# "HtmlDocument",
# "HtmlInputElement",
# "HtmlMenuItemElement",
# "HtmlProgressElement",
# "HtmlOptionElement",
# "HtmlDataElement",
# "HtmlMeterElement",
# "HtmlLiElement",
# "HtmlOutputElement",
# "HtmlParamElement",
# "HtmlTextAreaElement",
# "HtmlSelectElement",
# "HtmlButtonElement",
# "Location",
# "MessageEvent",
# "MouseEvent",
# "Navigator",
# "Node",
# "NodeList",
# "Performance",
# "PointerEvent",
# "PopStateEvent",
# "ReferrerPolicy",
# "Request",
# "RequestCache",
# "RequestCredentials",
# "RequestInit",
# "RequestMode",
# "RequestRedirect",
# "Response",
# "Selection",
# "Storage",
# "TcpReadyState",
# "Text",
# "Touch",
# "TouchEvent",
# "TouchList",
# "console",
# "WebSocket",
# "Window",
# "KeyboardEvent",
# "InputEvent",
# "Url",
# "UrlSearchParams",
]