[package]
edition = "2024"
rust-version = "1.96"
name = "causa-kernel"
version = "0.1.5"
authors = ["Preference"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Causa kernel — primitive facts (ContextBlock) and behavior contracts (ports)"
readme = "README.md"
keywords = [
"agent",
"llm",
"conversation",
"state-machine",
"ports",
]
categories = [
"data-structures",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Preference-cmd/causa"
resolver = "2"
[lib]
name = "causa_kernel"
path = "src/lib.rs"
[[test]]
name = "context_edit"
path = "tests/context_edit.rs"
[[test]]
name = "context_edit_consumer"
path = "tests/context_edit_consumer.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "control"
path = "tests/control.rs"
[[test]]
name = "external_driver"
path = "tests/external_driver.rs"
[[test]]
name = "generation_options"
path = "tests/generation_options.rs"
[[test]]
name = "identity"
path = "tests/identity.rs"
[[test]]
name = "model_items"
path = "tests/model_items.rs"
[[test]]
name = "processor_inputs"
path = "tests/processor_inputs.rs"
[[test]]
name = "projection_independence"
path = "tests/projection_independence.rs"
[[test]]
name = "stable_context"
path = "tests/stable_context.rs"
[[test]]
name = "streaming_port"
path = "tests/streaming_port.rs"
[[test]]
name = "tool_batch"
path = "tests/tool_batch.rs"
[[test]]
name = "tool_changes"
path = "tests/tool_changes.rs"
[[test]]
name = "wire_forms"
path = "tests/wire_forms.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-core]
version = "0.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
default-features = false
[dependencies.uuid]
version = "1"
features = ["serde"]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
]
[lints.clippy]
result_large_err = "allow"