-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (53 loc) · 1.2 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
[package]
name = "video-chat"
version = "0.1.0"
authors = ["sakex <alexandre@senges.ch>"]
edition = "2018"
description = "WASM Video Chat"
repository = "https://github.com/sakex/asm-video-chat"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.37"
wasm-bindgen-futures = "0.4.10"
console_error_panic_hook = "0.1.6"
serde = "^1.0.59"
serde_derive = "^1.0.59"
[dependencies.web-sys]
version = "0.3.4"
features = [
'AudioBuffer',
'AudioContext',
'AudioDestinationNode',
'AudioTrack',
'AudioTrackList',
'console',
'CanvasRenderingContext2d',
'CssStyleDeclaration',
'Document',
'Element',
'HtmlCanvasElement',
'HtmlElement',
'HtmlMediaElement',
'HtmlVideoElement',
'Navigator',
'MediaDevices',
'MediaStream',
'MediaStreamAudioSourceNode',
'MediaStreamConstraints',
'MediaStreamTrack',
'RtcConfiguration',
'RtcIceCandidate',
'RtcIceCandidateInit',
'RtcOfferOptions',
'RtcPeerConnection',
'RtcRtpSender',
'RtcSessionDescriptionInit',
'ScriptProcessorNode',
'VideoTrackList',
'Window'
]
[dependencies.wasm-bindgen]
version = "^0.2"
features = ["serde-serialize"]