-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (34 loc) · 1.03 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
[package]
name = "webrtc-rs"
version = "0.1.0"
authors = ["Zachary Vacura <[email protected]>"]
edition = "2018"
repository = "https://github.com/Hackzzila/webrtc-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc = "0.2"
tokio = { version = "0.2", features = ["sync"] }
webrtc-sdp = "0.3"
serde = { version = "1.0", features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "0.2", features = ["full"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
console_error_panic_hook = "0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"RtcIceServer",
"RtcConfiguration",
"RtcBundlePolicy",
"RtcIceTransportPolicy",
"RtcPeerConnection",
"RtcSessionDescription",
"RtcSessionDescriptionInit",
"RtcSdpType",
"RtcSignalingState",
]