[package]
edition = "2021"
rust-version = "1.75"
name = "iax2"
version = "0.2.2"
authors = ["Mariano (Qhawaq) Mancini"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Rust implementation of the Inter-Asterisk eXchange v2 (IAX2, RFC 5456) protocol: sans-io core with MD5 auth and call-token, G.711 codec and an adaptive jitter buffer, plus an optional async UDP driver and cross-platform audio."
documentation = "https://docs.rs/iax2"
readme = "README.md"
keywords = [
"iax",
"iax2",
"asterisk",
"voip",
"telephony",
]
categories = [
"network-programming",
"multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Qhawaq/iax2"
[features]
audio = [
"dsp",
"net",
"dep:cpal",
]
default = []
dsp = ["dep:rubato"]
net = ["dep:tokio"]
[lib]
name = "iax2"
path = "src/lib.rs"
[[bin]]
name = "calltest"
path = "src/bin/calltest.rs"
required-features = ["audio"]
[[bin]]
name = "regdaemon"
path = "src/bin/regdaemon.rs"
required-features = ["audio"]
[[bin]]
name = "regtest"
path = "src/bin/regtest.rs"
required-features = ["net"]
[[bin]]
name = "softphone"
path = "src/bin/softphone.rs"
required-features = ["audio"]
[dependencies.cpal]
version = "0.15"
optional = true
[dependencies.md5]
version = "0.7"
[dependencies.rubato]
version = "=0.15.0"
optional = true
[dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"macros",
"time",
"sync",
"io-std",
"io-util",
]
optional = true