modelrelay 6.5.0

Rust SDK for the ModelRelay API
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "modelrelay"
version = "6.5.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the ModelRelay API"
documentation = "https://docs.rs/modelrelay"
readme = "README.md"
keywords = [
    "llm",
    "ai",
    "client",
    "sdk",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/modelrelay/modelrelay-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"

[[example]]
name = "convenience"
path = "examples/convenience.rs"

[[example]]
name = "workflows_multi_agent"
path = "examples/workflows_multi_agent.rs"

[[test]]
name = "http_client"
path = "tests/http_client.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "stream_timeouts"
path = "tests/stream_timeouts.rs"

[[test]]
name = "tools_conformance"
path = "tests/tools_conformance.rs"

[[test]]
name = "workflow_constants"
path = "tests/workflow_constants.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.fastrand]
version = "2"

[dependencies.futures]
version = "0.3"

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.json-patch]
version = "4.1.0"

[dependencies.regex]
version = "1"

[dependencies.regress]
version = "0.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.schemars]
version = "0.8"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1"
optional = true
default-features = true

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"

[build-dependencies.schemars]
version = "0.8"

[build-dependencies.serde_json]
version = "1"

[build-dependencies.typify]
version = "0.5"