[package]
edition = "2024"
rust-version = "1.88"
name = "synwire"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convenience re-exports and reference implementations for Synwire"
homepage = "https://randomvariable.github.io/synwire/"
readme = "README.md"
keywords = [
"llm",
"ai",
"agents",
"langchain",
"async",
]
categories = [
"asynchronous",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/randomvariable/synwire"
resolver = "2"
[features]
dap = ["dep:synwire-dap"]
default = []
lsp = ["dep:synwire-lsp"]
ollama = ["dep:synwire-llm-ollama"]
openai = ["dep:synwire-llm-openai"]
sandbox = ["dep:synwire-sandbox"]
[lib]
name = "synwire"
path = "src/lib.rs"
[[example]]
name = "few_shot_rag"
path = "examples/few_shot_rag.rs"
[[test]]
name = "e2e_agent"
path = "tests/e2e_agent.rs"
[[test]]
name = "e2e_chat"
path = "tests/e2e_chat.rs"
[[test]]
name = "e2e_graph"
path = "tests/e2e_graph.rs"
[[test]]
name = "e2e_rag"
path = "tests/e2e_rag.rs"
[dependencies.moka]
version = "0.12"
features = ["future"]
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.synwire-core]
version = "0.1.0"
[dependencies.synwire-dap]
version = "0.1.0"
optional = true
[dependencies.synwire-llm-ollama]
version = "0.1.0"
optional = true
[dependencies.synwire-llm-openai]
version = "0.1.0"
optional = true
[dependencies.synwire-lsp]
version = "0.1.0"
optional = true
[dependencies.synwire-sandbox]
version = "0.1.0"
optional = true
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"full",
]
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unsafe_code = "deny"
unused_imports = "deny"
unused_results = "deny"