rsipstack 0.4.10

SIP Stack Rust library for building SIP applications
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"
name = "rsipstack"
version = "0.4.10"
authors = ["kui<kui@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SIP Stack Rust library for building SIP applications"
readme = "README.md"
keywords = [
    "sip",
    "voip",
    "telephony",
    "sipstack",
]
categories = [
    "network-programming",
    "multimedia",
]
license = "MIT"
repository = "https://github.com/restsend/rsipstack"

[features]
all-transports = [
    "rustls",
    "websocket",
    "srv_lookup",
]
default = [
    "rustls",
    "websocket",
    "srv_lookup",
]
rustls = [
    "tokio-rustls",
    "rustls-pemfile",
]
srv_lookup = ["dep:hickory-resolver"]
websocket = ["tokio-tungstenite"]

[lib]
name = "rsipstack"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "bench_ua"
path = "src/bin/bench_ua.rs"

[[example]]
name = "client"
path = "examples/client/main.rs"

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.bytes]
version = "1.11.0"

[dependencies.clap]
version = "4.5.53"
features = ["derive"]

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.get_if_addrs]
version = "0.5.3"

[dependencies.hickory-resolver]
version = "0.25.2"
features = [
    "system-config",
    "tokio",
]
optional = true

[dependencies.md-5]
version = "0.9.1"

[dependencies.nom]
version = "8.0.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.rsip]
version = "0.4.0"

[dependencies.rustls]
version = "0.23.35"

[dependencies.rustls-pemfile]
version = "2.2.0"
optional = true

[dependencies.sha2]
version = "0.9.5"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio-rustls]
version = "0.26.4"
optional = true

[dependencies.tokio-tungstenite]
version = "0.28.0"
optional = true

[dependencies.tokio-util]
version = "0.7.17"
features = ["full"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["local-time"]

[dev-dependencies.axum]
version = "0.8.8"
features = ["ws"]

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.http]
version = "1.4.0"

[dev-dependencies.rtp-rs]
version = "0.6.0"

[dev-dependencies.sdp-rs]
version = "0.2.1"

[dev-dependencies.stun-rs]
version = "0.1.11"

[dev-dependencies.tower]
version = "0.5.2"

[dev-dependencies.tower-http]
version = "0.6.7"
features = [
    "fs",
    "cors",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.48.0"
features = ["full"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.47.1"
features = [
    "time",
    "sync",
    "macros",
    "io-util",
]