-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
42 lines (38 loc) · 1.11 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
[package]
name = "bertrand"
version = "0.1.0"
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
anyhow = "1.0.43"
console_error_panic_hook = "0.1.6"
handlebars = { version = "4.1", features = ["script_helper"] }
log = "0.4"
pulldown-cmark = { version = "0.8.0", default-features = false }
rhai = { version = "1.0.3", features = ["wasm-bindgen"] }
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
wasm-bindgen = { version = "^0.2", default-features = false }
wasm-bindgen-futures = "0.4"
wasm-logger = "0.2.0"
wee_alloc = "0.4.5"
yew = "0.18"
yew-router = "0.15"
yewtil = "0.4"
[dependencies.web-sys]
version = "0.3"
features = [
"Node",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]
# TODO
#
# Running `wasm-opt` manually seems to significantly
# speed up the optimization.
[package.metadata.wasm-pack.profile.release]
wasm-opt = false