[package]
edition = "2021"
name = "cognis"
version = "0.3.2"
authors = ["Vasanth <itsparser@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cognis umbrella crate: agent builder, multi-agent orchestration, memory, middleware (rate limit, retry, PII, prompt caching), built-in tools, and re-exports of cognis-core, cognis-graph, cognis-llm, and cognis-rag."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xvasanth/cognis"
[features]
all-providers = [
"openai",
"ollama",
"anthropic",
"google",
"azure",
"voyage",
]
anthropic = ["cognis-llm/anthropic"]
azure = ["cognis-llm/azure"]
cache-sqlite = ["dep:sqlx"]
default = [
"openai",
"ollama",
]
google = [
"cognis-rag/google",
"cognis-llm/google",
]
ollama = [
"cognis-rag/ollama",
"cognis-llm/ollama",
]
openai = [
"cognis-rag/openai",
"cognis-llm/openai",
]
tools-http = ["dep:reqwest"]
voyage = ["cognis-rag/voyage"]
[lib]
name = "cognis"
path = "src/lib.rs"
[[test]]
name = "agent_run"
path = "tests/agent_run.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.cognis-core]
version = "0.3.2"
[dependencies.cognis-graph]
version = "0.3.2"
[dependencies.cognis-llm]
version = "0.3.2"
[dependencies.cognis-macros]
version = "0.3.2"
[dependencies.cognis-rag]
version = "0.3.2"
[dependencies.futures]
version = "0.3"
[dependencies.regex-lite]
version = "0.1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
optional = true
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"sqlite",
]
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = [
"full",
"process",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
"macros",
]