[package]
edition = "2024"
rust-version = "1.94.0"
name = "converge-knowledge"
version = "2.1.2"
build = false
exclude = [
"target/*",
"target/",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A self-learning knowledgebase with vector search, gRPC, and MCP interfaces"
readme = false
keywords = [
"vector-database",
"knowledge-base",
"machine-learning",
"embeddings",
"grpc",
]
categories = [
"database",
"science",
]
license = "MIT"
repository = "https://github.com/Reflective-Labs/converge.zone"
resolver = "2"
[features]
cli = ["clap"]
default = [
"cli",
"grpc",
"mcp",
]
grpc = []
mcp = ["dep:converge-mcp"]
memory-only = []
[lib]
name = "converge_knowledge"
path = "src/lib.rs"
[[bin]]
name = "converge-knowledge"
path = "src/main.rs"
required-features = ["cli"]
[[bin]]
name = "converge-knowledge-mcp"
path = "src/bin/mcp_server.rs"
required-features = ["mcp"]
[[bin]]
name = "converge-knowledge-server"
path = "src/bin/server.rs"
required-features = ["grpc"]
[[bench]]
name = "vector_search"
path = "benches/vector_search.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.bincode]
version = "1.3"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
"wrap_help",
]
optional = true
[dependencies.converge-mcp]
version = "2.1.2"
features = [
"client",
"server",
]
optional = true
default-features = false
[dependencies.dashmap]
version = "6.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pdf-extract]
version = "0.7"
[dependencies.prost]
version = "0.13"
[dependencies.prost-types]
version = "0.13"
[dependencies.pulldown-cmark]
version = "0.12"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.11"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.48"
features = [
"full",
"macros",
"sync",
]
[dependencies.tokio-stream]
version = "0.1"
features = [
"net",
"sync",
]
[dependencies.tonic]
version = "0.12"
features = ["tls"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1.11"
features = [
"v4",
"serde",
]
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"
[build-dependencies.tonic-build]
version = "0.12"
[lints.clippy]
assigning_clones = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cloned_instead_of_copied = "allow"
collapsible_if = "allow"
comparison_chain = "allow"
default_constructed_unit_structs = "allow"
default_trait_access = "allow"
derivable_impls = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
enum_glob_use = "allow"
explicit_iter_loop = "allow"
extend_with_drain = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
format_collect = "allow"
format_push_string = "allow"
if_not_else = "allow"
if_same_then_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
len_zero = "allow"
manual_clamp = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
manual_range_contains = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
neg_multiply = "allow"
no_effect_underscore_binding = "allow"
overly_complex_bool_expr = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
ref_option_ref = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
should_implement_trait = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unnecessary_map_or = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
vec_init_then_push = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
deprecated = "allow"
unsafe_code = "forbid"