active-call 0.3.30

A SIP/WebRTC voice agent
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 = "active-call"
version = "0.3.30"
authors = ["jinti<shenjindi@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A SIP/WebRTC voice agent"
readme = "README.md"
keywords = [
    "sip",
    "voip",
    "telephony",
    "voice-agent",
    "webrtc",
]
categories = [
    "network-programming",
    "multimedia",
]
license = "MIT"
repository = "https://github.com/restsend/active-call"

[features]
cross = [
    "opus",
    "offline",
    "aws-lc-rs/bindgen",
    "ort/load-dynamic",
]
default = [
    "opus",
    "offline",
    "ort",
]
not_vad = []
offline = ["dep:symphonia"]
opus = ["dep:opusic-sys"]
ort = ["ort/download-binaries"]

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

[[bin]]
name = "active-call"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-stream]
version = "0.3.6"

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

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

[dependencies.aws-lc-rs]
version = "1"

[dependencies.axum]
version = "0.8.7"
features = [
    "ws",
    "tokio",
    "multipart",
]

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

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

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.futures]
version = "0.3.31"

[dependencies.get_if_addrs]
version = "0.5.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.hf-hub]
version = "0.4.3"
features = [
    "rustls-tls",
    "tokio",
    "ureq",
]
default-features = false

[dependencies.hound]
version = "3.5.1"

[dependencies.http]
version = "1.4.0"

[dependencies.humantime]
version = "2.1.0"

[dependencies.knf-rs-sys]
version = "0.3.2"

[dependencies.lru]
version = "0.16.2"

[dependencies.md5]
version = "0.10.6"
package = "md-5"

[dependencies.minijinja]
version = "2.6.0"
features = [
    "loader",
    "json",
]

[dependencies.msedge-tts]
version = "0.2.1"

[dependencies.ndarray]
version = "0.16.1"

[dependencies.nnnoiseless]
version = "0.5.2"

[dependencies.num-complex]
version = "0.4"

[dependencies.num_cpus]
version = "1.16"

[dependencies.object_store]
version = "0.13.0"
features = [
    "aws",
    "azure",
    "gcp",
]

[dependencies.once_cell]
version = "1.21.3"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.opusic-sys]
version = "0.5.8"
optional = true

[dependencies.ort]
version = "=2.0.0-rc.10"
features = [
    "std",
    "ndarray",
]
default-features = false

[dependencies.rand]
version = "0.8.5"

[dependencies.rand_distr]
version = "0.4"

[dependencies.realfft]
version = "3.3"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "stream",
    "rustls",
    "multipart",
    "form",
    "query",
    "gzip",
]

[dependencies.rmp3]
version = "0.3"

[dependencies.rsip]
version = "0.4.0"

[dependencies.rsipstack]
version = "0.4.3"

[dependencies.rustfft]
version = "6.2"

[dependencies.rustls]
version = "0.23.36"

[dependencies.rustrtc]
version = "0.3.7"

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

[dependencies.serde_json]
version = "1.0.148"

[dependencies.serde_with]
version = "3.16.1"

[dependencies.serde_yaml]
version = "0.9.33"

[dependencies.sha2]
version = "0.10.9"

[dependencies.symphonia]
version = "0.5"
features = ["all"]
optional = true

[dependencies.tempfile]
version = "3.24.0"

[dependencies.tokio]
version = "1.49.0"
features = [
    "full",
    "tracing",
]

[dependencies.tokio-stream]
version = "0.1.18"
features = [
    "net",
    "sync",
]

[dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["rustls-tls-native-roots"]

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

[dependencies.toml]
version = "0.9.8"

[dependencies.tower-http]
version = "0.6.2"
features = [
    "fs",
    "trace",
]

[dependencies.tracing]
version = "0.1.43"

[dependencies.tracing-appender]
version = "0.2.4"

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

[dependencies.unic-emoji]
version = "0.9.0"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.19.0"
features = ["v4"]

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.portpicker]
version = "0.1.1"

[dev-dependencies.tempfile]
version = "3.23.0"

[dev-dependencies.tokio-test]
version = "0.4.5"

[dev-dependencies.warp]
version = "0.4.1"
features = [
    "server",
    "websocket",
]