[package]
edition = "2021"
name = "albert-api"
version = "1.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-provider LLM client for Albert CLI — bridges Anthropic, OpenAI, Google Gemini, Ollama, XAI and the Ternlang API with unified streaming and auth"
homepage = "https://ternlang.com"
readme = "README.md"
keywords = [
"llm",
"ai",
"api",
"anthropic",
"openai",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "LGPL-2.1-or-later"
repository = "https://github.com/eriirfos-eng/ternary-intelligence-stack"
[lib]
name = "albert_api"
path = "src/lib.rs"
[[test]]
name = "client_integration"
path = "tests/client_integration.rs"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.runtime]
version = "1.1.1"
package = "albert-runtime"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"net",
"rt-multi-thread",
"time",
]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"