-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (44 loc) · 1.09 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
[package]
name = "rust-frontend"
version = "0.1.0"
categories = ["wasm"]
authors = ["Andika Demas Riyandi <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
console_error_panic_hook = { version = "0.1.5", optional = true }
cfg-if = "1.0"
js-sys = "0.3.45"
lazy_static = "1.4.0"
log = "0.4.11"
dominator = "0.5.12"
futures = "0.3.6"
futures-signals = "0.3.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
wasm-bindgen = { version = "0.2.67", features = [ "serde-serialize" ] }
wasm-bindgen-futures = "0.4.18"
wasm-logger = { version = "0.2.0", optional = true }
[dependencies.web-sys]
version = "0.3.45"
features = [
"Storage",
"Url",
"XmlHttpRequest",
"Headers",
"Response",
"RequestInit",
"RequestMode",
"Window"
]
[features]
ts_test = []
develop = ["wasm-logger", "console_error_panic_hook" ]
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
[package.metadata.wasm-pack.profile.release]
wasm-opt = false