[package]
edition = "2024"
name = "sie-sdk-rs"
version = "0.1.0"
authors = ["Vinicios Lugli <vinicioslugli@gmail.com>"]
build = false
exclude = [
"/.github",
"/target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the SIE inference server: embeddings, reranking, extraction and text generation"
homepage = "https://github.com/ViniciosLugli/sie-sdk-rs"
documentation = "https://docs.rs/sie-sdk-rs"
readme = "README.md"
keywords = [
"sie",
"embeddings",
"inference",
"client",
"llm",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/ViniciosLugli/sie-sdk-rs"
[package.metadata.docs.rs]
all-features = true
[features]
blocking = ["tokio/rt-multi-thread"]
default = [
"rustls-tls",
"watch",
]
native-tls = [
"reqwest/native-tls",
"tokio-tungstenite?/native-tls",
]
ndarray = ["dep:ndarray"]
rustls-tls = [
"reqwest/rustls",
"tokio-tungstenite?/rustls-tls-native-roots",
]
watch = ["dep:tokio-tungstenite"]
[lib]
name = "sie_sdk"
path = "src/lib.rs"
[[example]]
name = "capacity"
path = "examples/capacity.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "http"
path = "tests/http.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.base64]
version = "0.23"
[dependencies.bytes]
version = "1"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.half]
version = "2"
[dependencies.hound]
version = "3"
[dependencies.http]
version = "1"
[dependencies.httpdate]
version = "1"
[dependencies.image]
version = "0.25"
features = [
"jpeg",
"png",
"gif",
"webp",
"bmp",
"tiff",
]
default-features = false
[dependencies.ndarray]
version = "0.17"
optional = true
[dependencies.percent-encoding]
version = "2"
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
"http2",
]
default-features = false
[dependencies.rmp-serde]
version = "1"
[dependencies.rmpv]
version = "1"
features = ["with-serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
"macros",
]
[dependencies.tokio-tungstenite]
version = "0.30"
features = [
"connect",
"handshake",
]
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.rmp-serde]
version = "1"
[dev-dependencies.rmpv]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.wiremock]
version = "0.6"