This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
86 lines (77 loc) · 2.16 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "webrtc-dtls"
version = "0.5.4"
authors = ["Rain Liu <[email protected]>"]
edition = "2018"
description = "A pure Rust implementation of DTLS"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/webrtc-dtls"
homepage = "https://webrtc.rs"
repository = "https://github.com/webrtc-rs/dtls"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
util = { package = "webrtc-util", version = "0.5.4", default-features = false, features = ["conn"] }
byteorder = "1"
rand_core = "0.6.3"
elliptic-curve = { version = "0.12.1", features = ["default", "ecdh"] }
# required because elliptic-curve requires "0.12", but "0.12.0" does not compile.
hkdf = "~0.12.1"
# required because elliptic-curve requires "3", but "3.0.0" does not compile.
curve25519-dalek = "3.2"
p256 = { version = "0.11.1", features = ["default", "ecdh", "ecdsa"] }
#p384 = "0.4.1"
rand = "0.8.5"
hmac = "0.10.1"
sha-1 = "0.9.1"
sha2 = "0.9.1"
aes = "0.6.0"
block-modes = "0.7.0"
aes-gcm = "0.8.0"
ccm = "0.3.0"
tokio = { version = "1.19", features = ["full"] }
async-trait = "0.1.56"
x25519-dalek = "2.0.0-pre.1"
signature = "1.2.2"
oid-registry = "0.6.0"
x509-parser = "0.13.2"
der-parser = "8.1"
rcgen = "0.9.2"
ring = "0.16.19"
webpki = "0.21.4"
rustls = { version = "0.19.0", features = ["dangerous_configuration"]}
bincode = "1.3"
serde = "1.0"
serde_derive = "1.0"
subtle = "2.4"
log = "0.4"
thiserror = "1.0"
[dev-dependencies]
tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
env_logger = "0.9.0"
chrono = "0.4.19"
clap = "3.2.6"
hub = {path = "examples/hub"}
[[example]]
name = "dial_psk"
path = "examples/dial/psk/dial_psk.rs"
bench = false
[[example]]
name = "dial_selfsign"
path = "examples/dial/selfsign/dial_selfsign.rs"
bench = false
[[example]]
name = "dial_verify"
path = "examples/dial/verify/dial_verify.rs"
bench = false
[[example]]
name = "listen_psk"
path = "examples/listen/psk/listen_psk.rs"
bench = false
[[example]]
name = "listen_selfsign"
path = "examples/listen/selfsign/listen_selfsign.rs"
bench = false
[[example]]
name = "listen_verify"
path = "examples/listen/verify/listen_verify.rs"
bench = false