4 releases

0.0.6 Dec 17, 2021
0.0.5 Dec 16, 2021
0.0.2 Nov 24, 2021

#177 in Database implementations

40 downloads per month

MPL-2.0 license

33KB
1K SLoC

rust wrapper for libmdbx

Introduction

libmdbx is a super fast embedded database.

This is my rust wrapper for libmdbx.

Supports storing custom rust types. Supports multi-threaded access. You can define the database in a module with lazy_static and then introduce and use it with something simple like

use db::User;

let id = 1234;
let user = r!(User.get id);

click here to browse the documentation to learn more


介绍

libmdbx 是一个超级快的嵌入式数据库。

这是我对libmdbx的rust包装。

支持存储自定义rust类型。 支持多线程访问。 可以一个模块中用 lazy_static 定义好数据库,然后用简单引入并使用,比如

use db::User;

let id = 1234;
let user = r!(User.get id);

点此浏览文档了解更多

Dependencies

~4–7MB
~128K SLoC