[package]
name = "libremetaverse-voice-webrtc"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "WebRTC voice shims for the MetaCrate LibreMetaverse rewrite"

[dependencies]
audiopus = "0.2"
hound = "3.5"
libremetaverse = { path = "../libremetaverse" }
libremetaverse-structured-data = { path = "../libremetaverse-structured-data" }
libremetaverse-types = { path = "../libremetaverse-types" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
str0m = { version = "0.22", default-features = false, features = ["rust-crypto"] }
tokio = { version = "1.47.1", features = ["macros", "net", "rt", "sync", "time"] }

[features]
default = []
real-audio = ["dep:cpal"]

[dependencies.cpal]
version = "0.18"
optional = true

[lints]
workspace = true
