daimon 0.2.0

A Rust-native AI agent framework
Documentation
# 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 = "daimon"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust-native AI agent framework"
homepage = "https://github.com/Lexmata/daimon"
documentation = "https://docs.rs/daimon"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "openai",
    "anthropic",
]
categories = [
    "asynchronous",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Lexmata/daimon"

[features]
anthropic = ["dep:reqwest"]
azure = ["dep:reqwest"]
bedrock = [
    "dep:aws-sdk-bedrockruntime",
    "dep:aws-config",
    "dep:aws-smithy-types",
]
default = [
    "openai",
    "anthropic",
    "macros",
    "ollama",
]
full = [
    "openai",
    "anthropic",
    "gemini",
    "azure",
    "bedrock",
    "ollama",
    "macros",
    "mcp",
]
gemini = ["dep:reqwest"]
macros = ["dep:daimon-macros"]
mcp = ["dep:reqwest"]
ollama = ["dep:reqwest"]
openai = ["dep:reqwest"]
sqlite = ["dep:rusqlite"]

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

[[example]]
name = "azure_agent"
path = "examples/azure_agent.rs"
required-features = ["azure"]

[[example]]
name = "bedrock_agent"
path = "examples/bedrock_agent.rs"
required-features = ["bedrock"]

[[example]]
name = "chain"
path = "examples/chain.rs"
required-features = ["openai"]

[[example]]
name = "gemini_agent"
path = "examples/gemini_agent.rs"
required-features = ["gemini"]

[[example]]
name = "mcp_client"
path = "examples/mcp_client.rs"
required-features = [
    "mcp",
    "openai",
]

[[example]]
name = "ollama_agent"
path = "examples/ollama_agent.rs"
required-features = ["ollama"]

[[example]]
name = "simple_agent"
path = "examples/simple_agent.rs"
required-features = ["openai"]

[[example]]
name = "streaming"
path = "examples/streaming.rs"
required-features = ["openai"]

[[example]]
name = "tool_macro"
path = "examples/tool_macro.rs"
required-features = [
    "openai",
    "macros",
]

[[example]]
name = "with_tools"
path = "examples/with_tools.rs"
required-features = ["openai"]

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

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

[dependencies.async-stream]
version = "0.3"

[dependencies.aws-config]
version = "1"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-bedrockruntime]
version = "1"
optional = true

[dependencies.aws-smithy-types]
version = "1"
optional = true

[dependencies.daimon-macros]
version = "0.2.0"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.jsonschema]
version = "0.43"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false

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

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

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]