-
Notifications
You must be signed in to change notification settings - Fork 61
/
Cargo.toml
62 lines (53 loc) · 1.19 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
58
59
60
61
62
[package]
name = "moq-web"
authors = ["Luke Curley <[email protected]>"]
edition = "2021"
publish = false
version = "0.3.5"
license = "MIT OR Apache-2.0"
repository = "https://github.com/kixelated/moq-web"
description = "WebAssembly frontend for MoQ"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
console_error_panic_hook = "0.1"
tracing = "0.1"
wasm-tracing = "0.2"
gloo-net = "0.6"
moq-karp = { version = "0.10", path = "../moq-karp", default-features = false }
web-codecs = "0.3.2"
tokio = { version = "1", features = ["sync"] }
js-sys = "0.3.72"
url = "2"
thiserror = "1"
hex = "0.4"
[dependencies.web-sys]
version = "0.3.72"
features = [
"Window",
"Document",
"HtmlElement",
"Node",
"Text",
# WebCodecs
"VideoDecoder",
"VideoDecoderInit",
"VideoDecoderConfig",
"VideoFrame",
"VideoColorSpaceInit",
"EncodedVideoChunk",
"EncodedVideoChunkInit",
"EncodedVideoChunkType",
# Canvas stuff
"CanvasRenderingContext2d",
"HtmlCanvasElement",
"HtmlImageElement",
"OffscreenCanvas",
"DedicatedWorkerGlobalScope",
"OffscreenCanvasRenderingContext2d",
]
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"