aimux-core 0.5.0

Core abstractions for aimux: LanguageModel trait, message types, and user-facing API
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 = "aimux-core"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for aimux: LanguageModel trait, message types, and user-facing API"
documentation = "https://docs.rs/aimux-core"
readme = false
keywords = [
    "llm",
    "ai",
    "openai",
    "anthropic",
    "provider",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures]
version = "0.3"

[dependencies.httpdate]
version = "1"

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

[dependencies.rand]
version = "0.8"

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

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

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.ts-rs]
version = "12"
features = [
    "serde-json-impl",
    "no-serde-warnings",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt",
    "test-util",
]

[lints.clippy]
all = "warn"
missing_errors_doc = "warn"
must_use_candidate = "warn"
redundant_closure_for_method_calls = "warn"
return_self_not_must_use = "warn"
uninlined_format_args = "warn"