xref: /webrtc/turn/Cargo.toml (revision e215e908)
1[package]
2name = "turn"
3version = "0.6.1"
4authors = ["Rain Liu <[email protected]>"]
5edition = "2021"
6description = "A pure Rust implementation of TURN"
7license = "MIT/Apache-2.0"
8documentation = "https://docs.rs/turn"
9homepage = "https://webrtc.rs"
10repository = "https://github.com/webrtc-rs/turn"
11rust-version = "1.63.0"
12
13# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14
15[dependencies]
16futures = "0.3.21"
17util = { version = "0.7.0", path = "../util", package = "webrtc-util", default-features = false, features = ["conn", "vnet"] }
18stun = { version = "0.4.3", path = "../stun" }
19
20tokio = { version = "1.19", features = ["full"] }
21async-trait = "0.1.56"
22log = "0.4.16"
23base64 = "0.13.0"
24rand = "0.8.5"
25ring = "0.16.20"
26md-5 = "0.10.1"
27thiserror = "1.0"
28
29[dev-dependencies]
30tokio-test = "0.4.0" # must match the min version of the `tokio` crate above
31env_logger = "0.9.0"
32chrono = "0.4.23"
33hex = "0.4.3"
34clap = "3.2.6"
35criterion = "0.4.0"
36
37[features]
38metrics = []
39
40[[bench]]
41name = "bench"
42harness = false
43
44[[example]]
45name = "turn_client_udp"
46path = "examples/turn_client_udp.rs"
47bench = false
48
49[[example]]
50name = "turn_server_udp"
51path = "examples/turn_server_udp.rs"
52bench = false
53