heartbit-core 2026.507.3

The Rust agentic framework — agents, tools, LLM providers, memory, evaluation.
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"
name = "heartbit-core"
version = "2026.507.3"
authors = ["Pascal Le Clech <pascal@heartbit.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Rust agentic framework — agents, tools, LLM providers, memory, evaluation."
homepage = "https://github.com/heartbit-ai/heartbit"
documentation = "https://docs.rs/heartbit-core"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "mcp",
    "ai",
    "framework",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/heartbit-ai/heartbit"
resolver = "2"

[features]
a2a = ["dep:a2a-sdk"]
bench-internals = []
default = []
sandbox = ["dep:landlock"]
sensor = []

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "guardrail_pii"
path = "benches/guardrail_pii.rs"
harness = false

[[bench]]
name = "memory_recall"
path = "benches/memory_recall.rs"
harness = false

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

[dependencies.a2a-sdk]
version = "0.7.0"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.hmac]
version = "0.12"

[dependencies.jsonschema]
version = "0.28"

[dependencies.parking_lot]
version = "0.12"

[dependencies.petgraph]
version = "0.7"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

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

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4"
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"