-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (34 loc) · 795 Bytes
/
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
[package]
name = "basic"
version = "0.1.0"
authors = ["Rahul Butani <rr.butani@gmail.com>"]
edition = "2018"
publish = false
workspace = ".."
[dependencies]
xterm-js-sys = { path = "../../", version = "4.5.0-alpha0" }
wasm-bindgen = "0.2.60"
console_error_panic_hook = "0.1.5"
[dependencies.web-sys]
version = "0.3.37"
features = [
'console',
'Document',
'Element',
'Node',
'NodeList',
'Window',
]
[lib]
crate-type = ["cdylib"]
[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
debug-js-glue = true
demangle-name-section = true
dwarf-debug-info = true
[package.metadata.wasm-pack.profile.release]
# wasm-opt = ["-O4"]
wasm-opt = ["-O"]
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = false
demangle-name-section = true
dwarf-debug-info = true