-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (50 loc) · 1.07 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
[package]
version = "0.2.0"
name = "try_in_browser"
repository = "https://github.com/Bubbler-4/TryInBrowser"
authors = ["Bubbler-4 <[email protected]>"]
description = "Online interpreter that works even if you go offline"
categories = ["web", "interpreter"]
license = "MIT"
readme = "./README.md"
edition = "2018"
default-run = "runtib"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "runtib"
path = "src/bin/runtib.rs"
[dependencies]
seed = "0.8.0"
serde = { version = "1.0", features = ["derive"] }
serde_closure = "0.3.2"
wasm-bindgen = {version = "0.2.74", features = ["serde-serialize"]}
wasm-bindgen-futures = "0.4.24"
js-sys = "0.3.51"
indoc = "1.0"
once_cell = "1.8"
typemap = "0.3"
data-encoding = "2.3"
[dependencies.web-sys]
version = "0.3"
features = [
'Blob',
'BlobPropertyBag',
'console',
'MessageEvent',
'Response',
'TextDecoder',
'TextEncoder',
'Url',
'Window',
'Worker',
'WorkerGlobalScope',
]
[features]
ui_debug = []
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
[package.metadata.wasm-pack.profile.release]
wasm-opt = false