[package]
name = "livespeech-sdk"
version = "0.1.13"
edition = "2021"
authors = ["DrawDream Inc."]
description = "Real-time speech-to-speech AI conversation SDK"
license = "MIT"
repository = "https://github.com/DrawDream-incorporated/LiveSpeechSDK"
documentation = "https://docs.rs/livespeech-sdk"
keywords = ["speech-to-text", "text-to-speech", "ai", "websocket", "realtime"]
categories = ["multimedia::audio", "api-bindings", "asynchronous"]
readme = "README.md"

[dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
futures-util = "0.3"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# Base64 encoding
base64 = "0.21"

# URL parsing
url = "2.5"

# Logging
tracing = "0.1"

# Error handling
thiserror = "1.0"

# Random for jitter
rand = "0.8"

# Time/date handling
chrono = "0.4"

[dev-dependencies]
tokio-test = "0.4"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[features]
default = []
# Enable additional logging
verbose = []

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[lib]
name = "livespeech_sdk"
path = "src/lib.rs"
