# 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"
rust-version = "1.85"
name = "cruxai"
version = "0.2.0"
authors = ["Joseph O'Brien"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An agentic DSL for Rust — inspectable, serializable, replayable agent execution"
homepage = "https://github.com/89jobrien/crux"
readme = "README.md"
keywords = [
    "agent",
    "agentic",
    "dsl",
    "replay",
    "trace",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/89jobrien/crux"
resolver = "2"

[features]
default = ["tokio-runtime"]
redb = ["cruxai-core/redb"]
script = ["dep:cruxai-script"]
tokio-runtime = ["cruxai-core/tokio-runtime"]
tracing = ["cruxai-core/tracing"]

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

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

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

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

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

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

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

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

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

[dependencies.cruxai-core]
version = "0.2.0"

[dependencies.cruxai-macros]
version = "0.2.0"

[dependencies.cruxai-script]
version = "0.2.0"
optional = true

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

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

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
