Crate buffdb

Source
Expand description

BuffDB is experimental software; many things are not yet decided.

BuffDB is an implementation of a persistence layer for gRPC. Its goal is to abstract away complexity associated with using protobufs.

To add BuffDB to your project, run cargo add buffdb.

§Use as a library

BuffDB is designed to be used as both a library and a binary. As a library, it provides everything needed to spawn a server and interact with a server.

When using buffdb, you will likely want to add a number of dependencies to you project, including tokio, tonic, and futures.

§Use as a binary

To use BuffDB as a binary, you can install it using cargo install buffdb. This will install the buffdb binary, which can be used to start a server or interact with a server. For more information, see the help message for the binary.

Re-exports§

pub use prost_types;

Modules§

backend
Backend implementations for various databases.
client
gRPC client definitions.
index
Secondary indexing support for BuffDB
inference
Inference service for ML model serving Simple inference helpers for ML model storage
interop
Interoperability helpers for third-party to third-party conversions.
json_store
JSON document store with JSONPath query support
proto
Protobuf types used by BuffDB.
queryable
A database that supports raw query execution.
server
gRPC server definitions.
service
gRPC service definitions.
store
Store implementations.
transaction
Transaction support for database backends
transitive
A temporary client for a data store.

Enums§

Location
The location of a database.

Type Aliases§

RpcResponse
A response from a gRPC server.