[package]
edition = "2024"
name = "agentsdk"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lean, OpenAI-compatible AI SDK for Rust."
homepage = "https://github.com/dineshdb/agentsdk"
readme = "README.md"
keywords = [
"ai",
"llm",
"openai",
"agents",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/dineshdb/agentsdk"
[lib]
name = "agentsdk"
path = "src/lib.rs"
[dependencies.agentsdk-macros]
version = "0.8.0"
[dependencies.async-stream]
version = "0.3.6"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.derive_builder]
version = "0.20"
[dependencies.futures]
version = "0.3"
[dependencies.o3gen-openai]
version = "0.2.0"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
[dependencies.schemars]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt",
"macros",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.dotenv]
version = "0.15.0"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
expect_used = "deny"
future_not_send = "allow"
indexing_slicing = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
future_incompatible = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
nonstandard_style = "warn"
rust_2024_compatibility = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"