stun-types 2.0.0

STUN parsing and writing
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.77.0"
name = "stun-types"
version = "2.0.0"
authors = ["Matthew Waters <matthew@centricular.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "STUN parsing and writing"
documentation = "https://docs.rs/stun-types"
readme = "README.md"
keywords = ["STUN"]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ystreet/stun-proto"

[features]
arbitrary = ["dep:arbitrary"]
default = ["std"]
std = [
    "thiserror/std",
    "rand/thread_rng",
    "hmac/reset",
]

[lib]
name = "stun_types"
path = "src/lib.rs"

[[example]]
name = "stunclient"
path = "examples/stunclient.rs"

[[bench]]
name = "attribute_write"
path = "benches/attribute_write.rs"
harness = false

[[bench]]
name = "message_parse"
path = "benches/message_parse.rs"
harness = false

[[bench]]
name = "message_write"
path = "benches/message_write.rs"
harness = false

[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true

[dependencies.byteorder]
version = "1"
default-features = false

[dependencies.crc]
version = "3"

[dependencies.hmac]
version = "0.12"

[dependencies.md-5]
version = "0.10"
default-features = false

[dependencies.rand]
version = "0.9"
features = ["os_rng"]
default-features = false

[dependencies.sha1]
version = "0.10"
default-features = false

[dependencies.sha2]
version = "0.10"
default-features = false

[dependencies.smallvec]
version = "1.6.1"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
default-features = false

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.precis-profiles]
version = "0.1"

[dev-dependencies.stringprep]
version = "0.1"

[dev-dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "std",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]