mdbx

mdbx

libmdbx interface for Crystal

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  mdbx:
    github: mentalblood0/mdbx
  1. Run shards install

Usage

See spec/mdbx_spec.cr

Testing

Basic tests:

crystal spec --error-trace --tag '~leakage' --order random --fail-fast
rm /tmp/mdbx /tmp/mdbx-lck

Leakage test:

crystal spec --error-trace --tag 'leakage' --release
rm /tmp/mdbx /tmp/mdbx-lck

Leakage test just runs CRUD operations indefinitely long until program is interrupted, so any stable memory leaks in CRUD interface implementation should lead to RAM lack and program termination by OS

Repository

mdbx

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • about 1 month ago
  • August 5, 2025
License

MIT License

Links
Synced at

Sun, 07 Sep 2025 04:13:16 GMT

Languages