[package]
edition = "2021"
name = "synaptic-macros"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the Synaptic framework (#[tool], #[chain], #[entrypoint], etc.)"
homepage = "https://dnw3.github.io/synaptic/"
readme = "README.md"
keywords = [
"ai",
"agent",
"langchain",
"llm",
"rag",
]
categories = ["science"]
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[features]
schemars = []
[lib]
name = "synaptic_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "chain_tests"
path = "tests/chain_tests.rs"
[[test]]
name = "entrypoint_tests"
path = "tests/entrypoint_tests.rs"
[[test]]
name = "inject_tests"
path = "tests/inject_tests.rs"
[[test]]
name = "middleware_tests"
path = "tests/middleware_tests.rs"
[[test]]
name = "schemars_tests"
path = "tests/schemars_tests.rs"
[[test]]
name = "tool_edge_cases"
path = "tests/tool_edge_cases.rs"
[[test]]
name = "tool_tests"
path = "tests/tool_tests.rs"
[[test]]
name = "traceable_tests"
path = "tests/traceable_tests.rs"
[dependencies.proc-macro-crate]
version = "3"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.schemars]
version = "0.8"
features = ["derive"]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.synaptic-core]
version = "0.2"
features = ["schemars"]
[dev-dependencies.synaptic-middleware]
version = "0.2"
[dev-dependencies.synaptic-runnables]
version = "0.2"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"