[build-dependencies.schemars]
version = "0.8"
[build-dependencies.serde_json]
version = "1"
[build-dependencies.typify]
version = "0.5"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.fastrand]
version = "2"
[dependencies.futures]
version = "0.3"
[dependencies.futures-core]
optional = true
version = "0.3"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.json-patch]
version = "4.1.0"
[dependencies.regex]
version = "1"
[dependencies.regress]
version = "0.10"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls"]
version = "0.12"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[dependencies.tracing]
default-features = true
optional = true
version = "0.1"
[dependencies.urlencoding]
version = "2"
[dependencies.uuid]
features = ["serde", "v4"]
version = "1"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[dev-dependencies.wiremock]
version = "0.6"
[[example]]
name = "workflows_multi_agent"
path = "examples/workflows_multi_agent.rs"
[features]
billing = []
blocking = ["reqwest/blocking"]
default = ["streaming"]
mock = []
streaming = ["reqwest/stream", "dep:futures-util", "dep:futures-core"]
tracing = ["dep:tracing"]
[lib]
name = "modelrelay"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["api-bindings"]
description = "Rust SDK for the ModelRelay API"
documentation = "https://docs.rs/modelrelay"
edition = "2021"
keywords = ["llm", "ai", "client", "sdk"]
license = "Apache-2.0"
name = "modelrelay"
readme = "README.md"
repository = "https://github.com/modelrelay/modelrelay-rs"
version = "1.5.0"
[[test]]
name = "device_flow_async"
path = "tests/device_flow_async.rs"
[[test]]
name = "http_client"
path = "tests/http_client.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "runs"
path = "tests/runs.rs"
[[test]]
name = "stream_timeouts"
path = "tests/stream_timeouts.rs"
[[test]]
name = "tools_v0_conformance"
path = "tests/tools_v0_conformance.rs"
[[test]]
name = "workflow_builder_conformance"
path = "tests/workflow_builder_conformance.rs"
[[test]]
name = "workflow_constants"
path = "tests/workflow_constants.rs"
[[test]]
name = "workflow_helpers_v1"
path = "tests/workflow_helpers_v1.rs"