Skip to main content

linera_storage_service/
lib.rs

1// Copyright (c) Zefchain Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3
4//! This module provides a shared key-value store server based on the RocksDB store and the in-memory store of `linera-views`.
5//! The corresponding client implements the `KeyValueStore` and `KeyValueDatabase` traits.
6
7#![deny(missing_docs)]
8
9/// The protobuf-generated gRPC types and service definitions for the storage service.
10pub mod key_value_store {
11    // The types below are generated by `tonic` and cannot carry doc comments.
12    #![expect(missing_docs)]
13    tonic::include_proto!("key_value_store.v1");
14}
15
16/// Running the storage service as a child process.
17pub mod child;
18/// The client connecting to a remote storage service.
19pub mod client;
20/// Shared types used by both the client and the server.
21pub mod common;