[package]
edition = "2021"
name = "cp-graph"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Knowledge graph and vector store"
readme = "README.md"
license = "AGPL-3.0"
repository = "https://github.com/canon-ai-protocol/canon-protocol"
[lib]
name = "cp_graph"
path = "src/lib.rs"
[dependencies.blake3]
version = "1.5"
[dependencies.cp-core]
version = "0.3.1"
package = "canon-core"
[dependencies.rusqlite]
version = "0.38"
features = [
"bundled",
"blob",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.usearch]
version = "2"
[dependencies.uuid]
version = "1.11"
features = [
"v4",
"v5",
"serde",
]
[dev-dependencies.tempfile]
version = "3.14"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
too_many_lines = "allow"
unreadable_literal = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"
unused_qualifications = "warn"