# 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"
rust-version = "1.75"
name = "citadeldb-ai"
version = "1.3.0"
authors = ["Yuriy Peysakhov"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Autonomous agent runtime for Citadel: ReAct + Reflexion + memory-backed plan caching"
homepage = "https://citadeldb.dev"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "agent",
    "autonomous",
    "memory",
]
categories = [
    "artificial-intelligence",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yp3y5akh0v/citadel"

[features]
candle-embed = ["citadel-mem/candle-embed"]
claude = ["dep:ureq"]
command-tool = ["dep:wait-timeout"]
default = []
file-tools = []
ollama = ["openai"]
openai = ["dep:ureq"]
test-util = []

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

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

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

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

[dependencies.blake3]
version = "1"

[dependencies.citadel-mem]
version = "1.3.0"
package = "citadeldb-mem"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.citadel]
version = "1.3.0"
package = "citadeldb"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "3"
features = ["json"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wait-timeout]
version = "0.2"
optional = true
