[package]
edition = "2021"
rust-version = "1.75"
name = "brain-db-sdk"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client SDK for the Brain memory database. Speaks Brain's BRN0 wire protocol directly over TCP."
homepage = "https://github.com/arc-labs-ai/brain-sdk"
documentation = "https://docs.rs/brain-db-sdk"
readme = "README.md"
keywords = [
"brain",
"memory",
"ai-agents",
"client",
"database",
]
categories = [
"database",
"api-bindings",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/arc-labs-ai/brain-sdk"
[lib]
name = "brain_db_sdk"
path = "src/lib.rs"
[[example]]
name = "http_smoke"
path = "examples/http_smoke.rs"
[[example]]
name = "live_matrix"
path = "examples/live_matrix.rs"
[[test]]
name = "conformance"
path = "tests/conformance/main.rs"
[[test]]
name = "corpus_coverage"
path = "tests/corpus_coverage/main.rs"
[[test]]
name = "encode"
path = "tests/encode/main.rs"
[[test]]
name = "encode_vector"
path = "tests/encode_vector/main.rs"
[[test]]
name = "entity"
path = "tests/entity/main.rs"
[[test]]
name = "field_names"
path = "tests/field_names/main.rs"
[[test]]
name = "forget"
path = "tests/forget/main.rs"
[[test]]
name = "graph"
path = "tests/graph/main.rs"
[[test]]
name = "handshake"
path = "tests/handshake/main.rs"
[[test]]
name = "http_all_operations"
path = "tests/http_all_operations/main.rs"
[[test]]
name = "http_client"
path = "tests/http_client/main.rs"
[[test]]
name = "http_edge"
path = "tests/http_edge/main.rs"
[[test]]
name = "idempotency"
path = "tests/idempotency/main.rs"
[[test]]
name = "malformed"
path = "tests/malformed/main.rs"
[[test]]
name = "materialize"
path = "tests/materialize/main.rs"
[[test]]
name = "mux"
path = "tests/mux/main.rs"
[[test]]
name = "plan"
path = "tests/plan/main.rs"
[[test]]
name = "pool"
path = "tests/pool/main.rs"
[[test]]
name = "protocol_drift"
path = "tests/protocol_drift/main.rs"
[[test]]
name = "query"
path = "tests/query/main.rs"
[[test]]
name = "reads_and_admin"
path = "tests/reads_and_admin/main.rs"
[[test]]
name = "reason"
path = "tests/reason/main.rs"
[[test]]
name = "recall"
path = "tests/recall/main.rs"
[[test]]
name = "relation"
path = "tests/relation/main.rs"
[[test]]
name = "retry"
path = "tests/retry/main.rs"
[[test]]
name = "send_sync"
path = "tests/send_sync/main.rs"
[[test]]
name = "session"
path = "tests/session/main.rs"
[[test]]
name = "space"
path = "tests/space/main.rs"
[[test]]
name = "statement"
path = "tests/statement/main.rs"
[[test]]
name = "stream_control"
path = "tests/stream_control/main.rs"
[[test]]
name = "verbs"
path = "tests/verbs/main.rs"
[dependencies.ciborium]
version = "0.2"
[dependencies.crc32c]
version = "0.6"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1"
[dependencies.serde_repr]
version = "0.1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"rt",
"time",
"macros",
"sync",
]
[dependencies.uuid]
version = "1"
features = [
"v5",
"v7",
]
[dev-dependencies.serde_json]
version = "1"
features = ["arbitrary_precision"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"io-util",
"macros",
"net",
"sync",
"time",
]
[lints.clippy]
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
future_not_send = "allow"
manual_assert = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
multiple_crate_versions = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
significant_drop_tightening = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
use_self = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1