Crates.io | mdbx |
lib.rs | mdbx |
version | 0.0.6 |
source | src |
created_at | 2021-11-24 07:28:22.74114 |
updated_at | 2021-12-17 10:10:36.289977 |
description | libmdbx rust wrapper |
homepage | |
repository | https://github.com/rmw-lib/mdbx |
max_upload_size | |
id | 486737 |
size | 94,219 |
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);