-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
44 lines (39 loc) · 899 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 = "pssh-box-wasm"
version = "0.1.7"
authors = ["Eric Marsden <eric.marsden@risk-engineering.org>"]
description = "Parsing and printing PSSH boxes, in WebAssembly."
repository = "https://github.com/emarsden/pssh-box-wasm/"
license = "MIT"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
pssh-box = "0.1.10"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"
url = "2.5.2"
hex = "0.4.3"
wasm-bindgen = { version = "0.2.95" }
serde-wasm-bindgen = "0.6.5"
wasm-bindgen-futures = "0.4.43"
log = "0.4.22"
wasm-log = "0.3.1"
js-sys = "0.3.69"
console_error_panic_hook = "0.1.7"
html-escape = "0.2.13"
thiserror = "1.0.65"
[dependencies.web-sys]
version = "0.3.72"
features = [
'console',
'Headers',
'Request',
'RequestInit',
'Response',
'Window',
]
[profile.release]
opt-level = 's' # optimize for size
lto = true
codegen-units = 1