Crate vsdb_core

Source
Expand description

§vsdb_core

Crates.io Docs.rs License Rust

A std-collection-like database.

This crate provides the low-level implementations for vsdb.

§Installation

Add this to your Cargo.toml:

[dependencies]
vsdb_core = "4.0"

§Features

  • parity_backend: Use parity-db as the backend database (default).
  • rocks_backend: Use rocksdb as the backend database.
  • compress: Enable compression in the backend database.

§Known Issues

  • The instance len is not absolutely reliable and should be regarded as a hint.

§License

This project is licensed under the GPL-3.0 license.

Re-exports§

pub use basic::mapx_raw::MapxRaw;
pub use common::GB;
pub use common::KB;
pub use common::MB;
pub use common::NULL;
pub use common::RawBytes;
pub use common::RawKey;
pub use common::RawValue;
pub use common::vsdb_flush;
pub use common::vsdb_get_base_dir;
pub use common::vsdb_get_custom_dir;
pub use common::vsdb_set_base_dir;

Modules§

basic
Defines basic data structures for the VSDB framework.
common
Contains common modules and utilities for the VSDB framework.

Macros§

parse_int
A macro to parse a byte slice into a specified integer type.
parse_prefix
A macro to parse a byte slice into a Pre type.