Expand description
§vsdb_core
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
: Useparity-db
as the backend database (default).rocks_backend
: Userocksdb
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.