sipbot 0.2.20

A simple SIP bot with RTP
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 = "2024"
name = "sipbot"
version = "0.2.20"
authors = ["jinti<shenjindi@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple SIP bot with RTP"
readme = "README.md"
keywords = [
    "rtp",
    "srtp",
    "sip",
    "cli",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/miuda-ai/sipbot"

[features]
default = [
    "opus",
    "local-device",
]
local-device = [
    "dep:cpal",
    "dep:ringbuf",
]
opus = ["audio-codec/opus"]

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

[[bin]]
name = "sipbot"
path = "src/main.rs"

[[test]]
name = "call_test"
path = "tests/call_test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.audio-codec]
version = "0.3.30"
default-features = false

[dependencies.bytes]
version = "1.11.0"

[dependencies.chrono]
version = "0.4.43"

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

[dependencies.cpal]
version = "0.17.1"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.hound]
version = "3.5.1"

[dependencies.rand]
version = "0.9.2"

[dependencies.ringbuf]
version = "0.4"
optional = true

[dependencies.rsip]
version = "0.4.0"

[dependencies.rsipstack]
version = "0.4.3"

[dependencies.rustrtc]
version = "0.3.6"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.toml]
version = "0.9.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
    "env-filter",
    "chrono",
]

[profile.release]
opt-level = "z"
lto = true
strip = "symbols"