starweaver-model 0.10.0

Provider-neutral model protocol and wire adapters for Starweaver
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 = "2024"
rust-version = "1.96"
name = "starweaver-model"
version = "0.10.0"
authors = ["wh1isper"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider-neutral model protocol and wire adapters for Starweaver"
homepage = "https://github.com/Wh1isper/starweaver"
readme = "README.md"
keywords = [
    "agent",
    "sdk",
    "ai",
    "runtime",
]
categories = ["development-tools"]
license = "BSD-3-Clause"
repository = "https://github.com/Wh1isper/starweaver"
resolver = "2"

[lib]
name = "starweaver_model"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.42"
features = [
    "clock",
    "serde",
    "std",
]
default-features = false

[dependencies.futures-util]
version = "0.3.31"

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

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.starweaver-core]
version = "0.10.0"

[dependencies.starweaver-oauth]
version = "0.10.0"

[dependencies.starweaver-usage]
version = "0.10.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-tungstenite]
version = "0.28.0"
features = [
    "connect",
    "rustls-tls-native-roots",
]
default-features = false

[dev-dependencies.starweaver-core]
version = "0.10.0"

[dev-dependencies.starweaver-usage]
version = "0.10.0"

[lints.clippy]
all = "warn"
expect_used = "warn"
nursery = "warn"
pedantic = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"