[package]
edition = "2021"
name = "cognis"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLM application framework built on cognis-core"
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xvasanth/cognis"
[features]
all-providers = [
"openai",
"anthropic",
"google",
"ollama",
"azure",
"yaml",
"toml-loader",
]
anthropic = [
"dep:reqwest",
"dep:secrecy",
]
azure = [
"dep:reqwest",
"dep:secrecy",
]
chroma = []
default = []
faiss = []
google = [
"dep:reqwest",
"dep:secrecy",
]
ollama = [
"dep:reqwest",
"dep:secrecy",
]
openai = [
"dep:reqwest",
"dep:secrecy",
]
pdf = ["dep:pdf-extract"]
pinecone = []
qdrant = []
sqlite = ["dep:sqlx"]
toml-loader = ["dep:toml"]
weaviate = []
yaml = ["dep:serde_yaml"]
[lib]
name = "cognis"
path = "src/lib.rs"
[[test]]
name = "agent_cancellation"
path = "tests/agent_cancellation.rs"
[[test]]
name = "astream_events_tests"
path = "tests/astream_events_tests.rs"
[[test]]
name = "integration_agent"
path = "tests/integration_agent.rs"
[[test]]
name = "ollama_integration"
path = "tests/ollama_integration.rs"
[[test]]
name = "output_parsers_tests"
path = "tests/output_parsers_tests.rs"
[[test]]
name = "rag_integration_tests"
path = "tests/rag_integration_tests.rs"
[[test]]
name = "runnable_cancellation"
path = "tests/runnable_cancellation.rs"
[[test]]
name = "stores_tests"
path = "tests/stores_tests.rs"
[[test]]
name = "text_splitter_tests"
path = "tests/text_splitter_tests.rs"
[[test]]
name = "tool_output_value_stream"
path = "tests/tool_output_value_stream.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.cognis-core]
version = "0.2.0"
[dependencies.csv]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.pdf-extract]
version = "0.7"
optional = true
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
optional = true
[dependencies.secrecy]
version = "0.10"
features = ["serde"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
optional = true
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"sqlite",
"postgres",
"json",
]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.toml]
version = "0.8"
optional = true
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
"macros",
]