[package]
edition = "2021"
rust-version = "1.85"
name = "soothe-client"
version = "0.3.2"
authors = ["Mirasoth <hello@mirasoth.ai>"]
build = false
exclude = [
".github/",
"tests/integration/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebSocket client for talking to a running soothe-daemon"
homepage = "https://github.com/mirasoth/soothe-client-rust"
documentation = "https://docs.rs/soothe-client"
readme = "README.md"
keywords = [
"soothe",
"websocket",
"agent",
"daemon",
]
categories = [
"network-programming",
"asynchronous",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/mirasoth/soothe-client-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
image = [
"dep:image",
"dep:base64",
]
[lib]
name = "soothe_client"
path = "src/lib.rs"
[[example]]
name = "01_hello"
path = "examples/01_hello.rs"
[[example]]
name = "02_stream_turn"
path = "examples/02_stream_turn.rs"
[[example]]
name = "03_text_completion"
path = "examples/03_text_completion.rs"
[[example]]
name = "04_multi_turn"
path = "examples/04_multi_turn.rs"
[[example]]
name = "05_pool_service"
path = "examples/05_pool_service.rs"
[[example]]
name = "06_jobs"
path = "examples/06_jobs.rs"
[[test]]
name = "appkit_unit"
path = "tests/appkit_unit.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "unit_api"
path = "tests/unit_api.rs"
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.futures-util]
version = "0.3"
features = [
"sink",
"std",
]
default-features = false
[dependencies.image]
version = "0.25"
features = [
"jpeg",
"png",
"gif",
"webp",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"net",
"io-util",
]
[dependencies.tokio-tungstenite]
version = "0.26"
features = ["connect"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.futures-util]
version = "0.3"
features = [
"sink",
"std",
]
default-features = false
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"net",
"io-util",
"test-util",
]
[dev-dependencies.tokio-tungstenite]
version = "0.26"
features = ["connect"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]