turnframe-provider 0.2.0

Provider-neutral model interfaces, capability routing, fallback policy and conformance suite for Turnframe
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.88"
name = "turnframe-provider"
version = "0.2.0"
authors = ["Turnframe contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider-neutral model interfaces, capability routing, fallback policy and conformance suite for Turnframe"
homepage = "https://turnframe.rs"
documentation = "https://docs.rs/turnframe"
readme = "README.md"
keywords = [
    "llm",
    "workflow",
    "conversation",
    "deterministic",
    "orchestration",
]
categories = [
    "asynchronous",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/turnframe-rs/turnframe"

[features]
conformance = [
    "dep:wiremock",
    "tokio/rt-multi-thread",
    "tokio/macros",
    "tokio/net",
]
default = []

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

[[test]]
name = "conformance_selftest"
path = "tests/conformance_selftest.rs"
required-features = ["conformance"]

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

[[bench]]
name = "stream_reconstruction"
path = "benches/stream_reconstruction.rs"
harness = false

[[bench]]
name = "structured_parsing"
path = "benches/structured_parsing.rs"
harness = false

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

[dependencies.base64]
version = "0.23"

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

[dependencies.futures]
version = "0.3"

[dependencies.jsonschema]
version = "0.56"
default-features = false

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.turnframe-core]
version = "0.2.0"

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

[dependencies.wiremock]
version = "0.6"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

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

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

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
large_futures = "warn"
missing_errors_doc = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

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