[package]
name = "sip-client"
version = "1.0.0"
edition = "2021"
description = "Multi-account SIP client with IVR/auto-attendant, DTMF detection, call transfer, recording, and JSON TCP control — all in a single Rust binary"
license = "MIT"
repository = "https://github.com/mahirgul/rsipclient"
homepage = "https://github.com/mahirgul/rsipclient"
documentation = "https://github.com/mahirgul/rsipclient#readme"
readme = "README.md"
keywords = ["sip", "voip", "rtp", "ivr", "auto-attendant"]
categories = ["network-programming", "command-line-utilities"]
authors = ["Mahir Gül <mahirgul@gmail.com>"]

[features]
default = []
opus = ["dep:opus"]

[dependencies]
clap = { version = "4", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["v4"] }
anyhow = "1"
md5 = "0.7"
pretty_env_logger = "0.5"
log = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
axum = { version = "0.7", features = ["ws"] }
sysinfo = "0.30"
opus = { version = "0.3", optional = true }
base64 = "0.21"
rand = "0.8"
tokio-native-tls = "0.3"
futures-util = "0.3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
