[package]
name = "relay_core"
version = "0.1.0"
edition = "2021"
publish = false
license = "Apache-2.0"
description = "LLMHosts relay client — WebSocket tunnel with Noise NK encryption"
repository = "https://github.com/LookNoHandsMom/LLMHosts.com"

[lib]
name = "_relay_core"
crate-type = ["cdylib", "rlib"]

[dependencies]
pyo3 = { workspace = true }
pyo3-async-runtimes = { workspace = true }
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-native-roots"] }
futures-util = "0.3"
tracing = "0.1"
url = "2"
rand = "0.8"
snow = { version = "0.9", features = ["default-resolver"] }  # Noise Protocol Framework (NK pattern)
async-trait = "0.1"
thiserror = "2"
bytes = "1"
