forked from amiller68/wasm-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (43 loc) · 1.02 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
[package]
name = "wasm-hasher"
version = "0.1.0"
authors = ["amiller68 <[email protected]>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook", "wee_alloc"]
[dependencies]
wasm-bindgen = { version = "^0.2", default-features = false }
cfg-if = "^0.1"
console_error_panic_hook = { version = "^0.1", optional = true }
wee_alloc = { version = "^0.4", optional = true }
js-sys = "^0.3"
wasm-bindgen-futures = "^0.4"
wasm-streams = { version = "^0.4" }
futures = "^0.3"
futures-util = "^0.3"
blake3 = "^1.5"
gloo-worker = { version = "^0.5", features = ["futures"] }
serde-wasm-bindgen = "^0.6"
serde = "^1"
serde_json = "^1"
wasm-rs-shared-channel = "^0.1"
base64 = "^0.21"
wasm-bindgen-rayon = "^1"
rayon = "^1.8"
[dependencies.web-sys]
version = "^0.3"
features = [
"File",
"Blob",
"ReadableStream",
"WritableStream",
"console",
"Storage",
]
[dev-dependencies]
wasm-bindgen-test = "0.3.13"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"