[package]
edition = "2021"
rust-version = "1.88"
name = "rvoip-vapi"
version = "0.3.5"
authors = ["RVOIP AUTHORS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vapi bidirectional WebSocket voice-agent adapter for rvoip"
homepage = "https://github.com/eisenzopf/rvoip"
documentation = "https://docs.rs/rvoip"
readme = "README.md"
keywords = [
"sip",
"voip",
"rtp",
"communication",
"telephony",
]
categories = [
"network-programming",
"multimedia",
"web-programming",
]
license = "MIT"
repository = "https://github.com/eisenzopf/rvoip"
[lib]
name = "rvoip_vapi"
path = "src/lib.rs"
[[test]]
name = "live_smoke"
path = "tests/live_smoke.rs"
[[test]]
name = "mock_transport"
path = "tests/mock_transport.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1.5"
features = ["serde"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.metrics]
version = "0.23"
[dependencies.parking_lot]
version = "0.12"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rvoip-core]
version = "0.3.5"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.36"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.29"
features = ["rustls-tls-webpki-roots"]
[dependencies.tokio-util]
version = "0.7"
features = [
"codec",
"compat",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.zeroize]
version = "1.9"
[dev-dependencies.axum]
version = "0.7"
features = ["ws"]
[dev-dependencies.tokio]
version = "1.36"
features = [
"full",
"full",
"test-util",
]
[lints.clippy]
absurd_extreme_comparisons = "allow"
approx_constant = "allow"
assertions_on_constants = "allow"
bool_assert_comparison = "allow"
bool_comparison = "allow"
cast_abs_to_unsigned = "allow"
collapsible_else_if = "allow"
comparison_to_empty = "allow"
empty_line_after_doc_comments = "allow"
expect_fun_call = "allow"
explicit_auto_deref = "allow"
items_after_test_module = "allow"
legacy_numeric_constants = "allow"
len_without_is_empty = "allow"
len_zero = "allow"
manual_find = "allow"
match_like_matches_macro = "allow"
module_inception = "allow"
multiple_bound_locations = "allow"
needless_borrows_for_generic_args = "allow"
needless_option_as_deref = "allow"
new_without_default = "allow"
option_as_ref_deref = "allow"
partialeq_to_none = "allow"
redundant_closure = "allow"
redundant_pattern_matching = "allow"
should_implement_trait = "allow"
single_match = "allow"
too_many_arguments = "allow"
unnecessary_filter_map = "allow"
unnecessary_get_then_check = "allow"
unnecessary_literal_unwrap = "allow"
useless_conversion = "allow"
useless_vec = "allow"
vec_init_then_push = "allow"
[lints.clippy.cargo]
level = "allow"
priority = -1
[lints.clippy.complexity]
level = "allow"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.clippy.perf]
level = "allow"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "allow"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_glob_reexports = "warn"
async_fn_in_trait = "allow"
dead_code = "warn"
irrefutable_let_patterns = "allow"
mismatched_lifetime_syntaxes = "warn"
unexpected_cfgs = "warn"
unreachable_patterns = "allow"
unused_assignments = "warn"
unused_comparisons = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"