limit-llm 0.0.23

Multi-provider LLM client for Rust with streaming support. Supports Anthropic Claude, OpenAI, and z.ai.
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 = "limit-llm"
version = "0.0.23"
authors = ["Mário Idival <marioidival@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-provider LLM client for Rust with streaming support. Supports Anthropic Claude, OpenAI, and z.ai."
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "openai",
    "anthropic",
    "claude",
]
categories = [
    "api-bindings",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/marioidival/limit"

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.bincode]
version = "1.0"

[dependencies.bytes]
version = "1.0"

[dependencies.dirs]
version = "5.0"

[dependencies.futures]
version = "0.3"

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

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tiktoken-rs]
version = "0.5"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.serial_test]
version = "3.0"

[dev-dependencies.tempfile]
version = "3.8"