[package]
name = "modelsocket"
version = "0.1.0"
edition = "2021"
description = "A Rust library for ModelSocket, a protocol for efficiently integrating with LLMs"
license = "Apache-2.0"
keywords = ["modelsocket", "ai", "llm"]
[features]
default = []
client = [
"dep:anyhow",
"dep:futures",
"dep:futures-util",
"dep:http",
"dep:serde_json",
"dep:thiserror",
"dep:tokio",
"dep:tokio-tungstenite",
"dep:tracing",
"dep:url",
"dep:uuid",
]
[dependencies]
serde = { version = "1", features = ["derive"] }
anyhow = { version = "1.0.100", optional = true }
futures = { version = "0.3", optional = true }
futures-util = { version = "0.3", optional = true }
http = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
thiserror = { version = "1", optional = true }
tokio = { version = "1", features = [
"full",
"macros",
"rt-multi-thread",
], optional = true }
tokio-tungstenite = { version = "0.23.1", features = [
"native-tls",
], optional = true }
tracing = { version = "0.1", optional = true }
url = { version = "2.5", optional = true }
uuid = { version = "1.9", features = ["v4"], optional = true }