[package]
edition = "2021"
rust-version = "1.88"
name = "synaptic-middleware"
version = "0.3.0"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Middleware system for Synaptic agents: AgentMiddleware trait and built-in middlewares"
homepage = "https://dnw3.github.io/synaptic/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_middleware"
path = "src/lib.rs"
[[test]]
name = "context_editing"
path = "tests/context_editing.rs"
[[test]]
name = "human_in_the_loop"
path = "tests/human_in_the_loop.rs"
[[test]]
name = "macro_middleware"
path = "tests/macro_middleware.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "tool_call_limit"
path = "tests/tool_call_limit.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.synaptic-core]
version = "0.3"
[dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]
[dev-dependencies.synaptic-macros]
version = "0.3"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]