# 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.76"
name = "cel-brief"
version = "0.2.0"
authors = ["Dimitrios Pagkratis <dimitris@timberhub.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Composable prompt briefing for AI agents: gather sources, enforce token budgets, apply governance, and emit receipts."
homepage = "https://github.com/dimpagk92/cel-brief"
documentation = "https://docs.rs/cel-brief"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "agent",
    "context",
    "prompt",
]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/dimpagk92/cel-brief"

[features]
default = []
memory = ["dep:cel-memory"]
perception = []
tiktoken = ["dep:tiktoken-rs"]
tracing = ["dep:tracing"]

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

[[example]]
name = "governance"
path = "examples/governance.rs"

[[example]]
name = "standalone"
path = "examples/standalone.rs"

[[example]]
name = "with_memory"
path = "examples/with_memory.rs"
required-features = ["memory"]

[[bench]]
name = "build"
path = "benches/build.rs"
harness = false
required-features = ["memory"]

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

[dependencies.cel-memory]
version = "0.2.0"
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tiktoken-rs]
version = "0.7"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]
