-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (36 loc) · 962 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
[package]
name = "rav1e_js"
version = "0.3.0"
authors = ["Urhengulas <johann.hemmann@code.berlin>"]
edition = "2018"
description = "JavaScript bindings for rav1e"
repository = "https://github.com/xiph/rav1e/"
license= "BSD-2-Clause"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
console_error_panic_hook = { version = "0.1", optional = true }
dcv-color-primitives = "0.1"
rav1e = { version = "0.4.0", features = ["serialize", "wasm"] }
serde_json = "1.0"
v_frame = { version = "0.2.0", features = ["wasm"]}
wasm-bindgen = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"CanvasRenderingContext2d",
"console",
"Document",
"Element",
"HtmlCanvasElement",
"HtmlImageElement",
"HtmlVideoElement",
"ImageData",
"Window"
]
[dev-dependencies]
wasm-bindgen-test = "0.3"
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O", "--enable-mutable-globals"]