#database #developing #utilities

no-std dbutils

Utils for developing databases

22 releases (8 breaking)

new 0.10.2 Nov 7, 2024
0.9.0 Oct 31, 2024
0.2.1 Apr 1, 2023
0.2.0 Mar 24, 2023

#25 in Database implementations

Download history 8/week @ 2024-07-25 2/week @ 2024-08-01 692/week @ 2024-08-29 1107/week @ 2024-09-05 1344/week @ 2024-09-12 4045/week @ 2024-09-19 7198/week @ 2024-09-26 5361/week @ 2024-10-03 1341/week @ 2024-10-10 799/week @ 2024-10-17 2025/week @ 2024-10-24 1731/week @ 2024-10-31

5,984 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.9"
    
  • Using in no_std

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

    [dependencies]
    dbutils = { version = "0.9", 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–375KB