[package]
edition = "2021"
rust-version = "1.88"
name = "rvoip-core"
version = "0.3.5"
authors = ["RVOIP AUTHORS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transport-agnostic spine for RVoIP — types, ConnectionAdapter trait, BridgeManager, Orchestrator entry point"
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"
[features]
aauth-experimental = []
client = []
default = [
"uctp",
"sip",
"rtp",
"media",
"vcon",
"identity",
]
full = [
"webrtc",
"harness",
"client",
"aauth-experimental",
"identity-fingerprint-binding",
"vcon-signing",
]
harness = ["dep:rvoip-harness"]
identity = []
identity-fingerprint-binding = []
media = []
rtp = []
sip = []
uctp = []
vcon = ["dep:rvoip-vcon"]
vcon-signing = ["vcon"]
webrtc = []
[lib]
name = "rvoip_core"
path = "src/lib.rs"
[[example]]
name = "cross_transport_bridge"
path = "examples/cross_transport_bridge.rs"
[[example]]
name = "sip_only_orchestrator"
path = "examples/sip_only_orchestrator.rs"
[[test]]
name = "bridge_pump"
path = "tests/bridge_pump.rs"
[[test]]
name = "conversation_lifecycle"
path = "tests/conversation_lifecycle.rs"
[[test]]
name = "dtmf_auto_route"
path = "tests/dtmf_auto_route.rs"
[[test]]
name = "fanout_frame"
path = "tests/fanout_frame.rs"
[[test]]
name = "messaging"
path = "tests/messaging.rs"
[[test]]
name = "operational_media_activity"
path = "tests/operational_media_activity.rs"
[[test]]
name = "orchestrator_dispatch"
path = "tests/orchestrator_dispatch.rs"
[[test]]
name = "p10_idle_closer"
path = "tests/p10_idle_closer.rs"
[[test]]
name = "p12_otel_spans"
path = "tests/p12_otel_spans.rs"
[[test]]
name = "p12_step_up_roundtrip"
path = "tests/p12_step_up_roundtrip.rs"
[[test]]
name = "p5_pause_and_listener"
path = "tests/p5_pause_and_listener.rs"
[[test]]
name = "p9_quality_aggregator"
path = "tests/p9_quality_aggregator.rs"
[[test]]
name = "per_connection_control"
path = "tests/per_connection_control.rs"
[[test]]
name = "principal_cross_crate"
path = "tests/principal_cross_crate.rs"
[[test]]
name = "provisional_early_media"
path = "tests/provisional_early_media.rs"
[[test]]
name = "recording_and_ai"
path = "tests/recording_and_ai.rs"
[[test]]
name = "session_lifecycle"
path = "tests/session_lifecycle.rs"
[[test]]
name = "signing_and_identity"
path = "tests/signing_and_identity.rs"
[[test]]
name = "staged_inbound_data"
path = "tests/staged_inbound_data.rs"
[[test]]
name = "subscriptions"
path = "tests/subscriptions.rs"
[[test]]
name = "tenant_and_capacity"
path = "tests/tenant_and_capacity.rs"
[[test]]
name = "v2b_semaphore_admission"
path = "tests/v2b_semaphore_admission.rs"
[[test]]
name = "vcon_emission"
path = "tests/vcon_emission.rs"
required-features = ["vcon"]
[[test]]
name = "virtual_publisher"
path = "tests/virtual_publisher.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.5"
features = ["serde"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dashmap]
version = "6"
[dependencies.metrics]
version = "0.23"
[dependencies.rvoip-core-traits]
version = "0.3.5"
[dependencies.rvoip-harness]
version = "0.3.5"
optional = true
[dependencies.rvoip-infra-common]
version = "0.3.5"
[dependencies.rvoip-media-core]
version = "0.3.5"
features = ["opus"]
[dependencies.rvoip-vcon]
version = "0.3.5"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.36"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.7"
features = [
"v4",
"serde",
]
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.quinn]
version = "0.11"
features = [
"runtime-tokio",
"rustls-ring",
]
default-features = false
[dev-dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
"logging",
]
default-features = false
[dev-dependencies.rvoip-auth-core]
version = "0.3.5"
[dev-dependencies.rvoip-harness]
version = "0.3.5"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[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"