[package]
edition = "2021"
rust-version = "1.75.0"
name = "dig-stun"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RFC 5389 STUN codec, client, address-scope table, peer observation and agreement — how a DIG node learns and believes its public address."
readme = "README.md"
keywords = [
"stun",
"nat",
"reflexive",
"rfc5389",
"p2p",
]
categories = ["network-programming"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/DIG-Network/dig-stun"
[lib]
name = "dig_stun"
path = "src/lib.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "codec"
path = "tests/codec.rs"
[[test]]
name = "credential"
path = "tests/credential.rs"
[[test]]
name = "establish"
path = "tests/establish.rs"
[[test]]
name = "observe"
path = "tests/observe.rs"
[[test]]
name = "scope"
path = "tests/scope.rs"
[[test]]
name = "transaction_id"
path = "tests/transaction_id.rs"
[dependencies.ring]
version = "0.17"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"time",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"test-util",
]
[lints.rust]
missing_docs = "deny"