tt-preview 0.1.0

Cost preview engine — projects cost + savings + route suggestions for an LLM request without calling any model.
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"
rust-version = "1.88"
name = "tt-preview"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cost preview engine — projects cost + savings + route suggestions for an LLM request without calling any model."
readme = false
license = "Apache-2.0"
repository = "https://github.com/tokentrimmer/tokentrimmer"

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = [
    "full",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tt-provider-anthropic]
version = "0.1"

[dependencies.tt-provider-gemini]
version = "0.1"

[dependencies.tt-provider-groq]
version = "0.1"

[dependencies.tt-provider-mistral]
version = "0.1"

[dependencies.tt-provider-openai]
version = "0.1"

[dependencies.tt-provider-openrouter]
version = "0.1"

[dependencies.tt-provider-together]
version = "0.1"

[dependencies.tt-shared]
version = "0.1"

[dependencies.tt-tokenize]
version = "0.1"

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

[dev-dependencies.httpmock]
version = "0.7"

[dev-dependencies.insta]
version = "1.39"
features = ["json"]

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

[lints.clippy]
uninlined_format_args = "deny"

[lints.rust]
unsafe_code = "forbid"