1[package] 2name = "stun" 3version = "0.4.4" 4authors = ["Rain Liu <[email protected]>"] 5edition = "2021" 6description = "A pure Rust implementation of STUN" 7license = "MIT/Apache-2.0" 8documentation = "https://docs.rs/stun" 9homepage = "https://webrtc.rs" 10repository = "https://github.com/webrtc-rs/stun" 11rust-version = "1.63.0" 12 13[features] 14default = [] 15bench = [] 16 17[dependencies] 18util = { version = "0.7.0", path = "../util", package = "webrtc-util", default-features = false, features = ["conn"] } 19 20tokio = { version = "1.19", features = ["full"] } 21lazy_static = "1.4" 22url = "2.2" 23rand = "0.8.5" 24base64 = "0.13.0" 25subtle = "2.4" 26crc = "3.0" 27ring = "0.16.20" 28md-5 = "0.10.1" 29thiserror = "1.0" 30 31[dev-dependencies] 32tokio-test = "0.4.0" # must match the min version of the `tokio` crate above 33clap = "3.2.6" 34criterion = "0.4.0" 35 36 37[[bench]] 38name = "bench" 39harness = false 40 41[[example]] 42name = "stun_client" 43path = "examples/stun_client.rs" 44bench = false 45 46[[example]] 47name = "stun_decode" 48path = "examples/stun_decode.rs" 49bench = false 50