forked from algesten/str0m
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (53 loc) · 2.01 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 = "str0m"
version = "0.6.2"
authors = ["Martin Algesten <[email protected]>", "Hugo Tunius <[email protected]>", "Davide Bertola <[email protected]>"]
description = "WebRTC library in Sans-IO style"
license = "MIT OR Apache-2.0"
repository = "https://github.com/algesten/str0m"
readme = "README.md"
keywords = ["webrtc", "streaming", "video", "audio", "media"]
categories = ["web-programming", "multimedia", "network-programming"]
edition = "2021"
exclude = ["/cargo_deny.sh", "/deny.toml", "/run-fuzz.sh"]
# MSRV
rust-version = "1.65"
[features]
default = ["openssl"]
openssl = ["dep:openssl", "dep:openssl-sys", "dep:libc"]
_internal_dont_use_log_stats = []
_internal_test_exports = []
[dependencies]
thiserror = "1.0.38"
tracing = "0.1.37"
fastrand = "2.0.1"
once_cell = "1.17.0"
sctp-proto = "0.3.0"
combine = "4.6.6"
# Sadly no DTLS support in rustls.
# If you want to use a system provided openssl you can set env variable
# OPENSSL_NO_VENDOR=1 to override the feature flag vendored
openssl = { version = ">=0.10.66", features = ["vendored"], optional = true }
openssl-sys = { version = "0.9.80", optional = true }
libc = { version = "0.2", optional = true }
# STUN
hmac = "0.12.1"
crc = "3.0.0"
serde = { version = "1.0.152", features = ["derive"] }
[target.'cfg(unix)'.dependencies]
sha1 = { version = "0.10.6", features = ["asm"] }
# Don't use `asm` on Windows until https://github.com/RustCrypto/asm-hashes/issues/45 is fixed.
# The `asm` feature isn't compatible with `windows-msvc` toolchain and `openssl` breaks if we want to use `windows-gnu`.
# Thus, don't use `asm` feature on Windows.
[target.'cfg(windows)'.dependencies]
sha1 = { version = "0.10.6" }
[dev-dependencies]
rouille = { version = "3.5.0", features = ["ssl"] }
serde_json = "1.0"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "std"] }
systemstat = "0.2.2"
_str0m_test = { path = "_str0m_test" } # dummy package that enables "_internal_test_exports"
# This is to ensure MSRV 1.65
# Remove when we move MSRV
time = "=0.3.23"
pcap-file = "2.0.0"