[package]
edition = "2024"
rust-version = "1.90"
name = "neuron-context"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Context engine with compaction strategies for neuron"
homepage = "https://github.com/secbear/neuron"
readme = "README.md"
keywords = [
"ai",
"agent",
"context",
"llm",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/secbear/neuron"
[lib]
name = "neuron_context"
path = "src/lib.rs"
[[example]]
name = "compaction"
path = "examples/compaction.rs"
[[test]]
name = "composite"
path = "tests/composite.rs"
[[test]]
name = "counter"
path = "tests/counter.rs"
[[test]]
name = "injector"
path = "tests/injector.rs"
[[test]]
name = "persistent"
path = "tests/persistent.rs"
[[test]]
name = "sliding_window"
path = "tests/sliding_window.rs"
[[test]]
name = "summarization"
path = "tests/summarization.rs"
[[test]]
name = "tool_result_clearing"
path = "tests/tool_result_clearing.rs"
[dependencies.neuron-types]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"sync",
"macros",
"rt-multi-thread",
]