#database #developing #utilities

no-std dbutils

Utils for developing databases

20 releases (8 breaking)

new 0.10.4 Nov 12, 2024
0.9.0 Oct 31, 2024
0.2.1 Apr 1, 2023
0.2.0 Mar 24, 2023

#23 in Database implementations

Download history 7/week @ 2024-07-24 3/week @ 2024-07-31 642/week @ 2024-08-28 1001/week @ 2024-09-04 1295/week @ 2024-09-11 3224/week @ 2024-09-18 7736/week @ 2024-09-25 5761/week @ 2024-10-02 1048/week @ 2024-10-09 1173/week @ 2024-10-16 1837/week @ 2024-10-23 1929/week @ 2024-10-30 1510/week @ 2024-11-06

6,711 downloads per month
Used in 7 crates (6 directly)

MIT/Apache

150KB
3.5K SLoC

Database Utilities

Utilities for developing databases.

github LoC Build codecov

docs.rs crates.io crates.io license

Installation

  • Default

    [dependencies]
    dbutils = "0.10"
    
  • Using in no_std

    [dependencies]
    dbutils = { version = "0.10", default-features = false }
    
  • Using with alloc only

    [dependencies]
    dbutils = { version = "0.10", default-features = false, features = ["alloc"] }
    

Project Dependents

  • rarena-allocator: Lock-free ARENA allocator which can be used in both memory and on-disk.
  • orderwal: A generic-purpose, atomic, ordered, zero-copy, Write-Ahead Log implementation for Rust.
  • skl: A lock-free thread-safe concurrent ARENA based (heap backend or memory map backend) skiplist implementation which helps develop MVCC memtable for LSM-Tree.
  • valog: A lock-free, generic, lightweight value log for WiscKey or Bitcask architecture databases.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~36–400KB