crabllm-core 0.0.21

Core types for the crabllm LLM API gateway
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"
name = "crabllm-core"
version = "0.0.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types for the crabllm LLM API gateway"
readme = "README.md"
keywords = [
    "llm",
    "openai",
    "api",
    "types",
    "gateway",
]
categories = [
    "data-structures",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crabtalk/crabllm"

[features]
gateway = ["toml"]
openapi = ["utoipa"]
sonic = ["dep:sonic-rs"]

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

[dependencies.bytes]
version = "1"

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

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_json]
version = "1"

[dependencies.sonic-rs]
version = "0.5"
optional = true

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

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]
optional = true