feat(db): Refactor storage libraries (#371)

This commit is contained in:
rakita
2022-12-10 08:14:07 +01:00
committed by GitHub
parent 37e016d4a3
commit e014eaad33
139 changed files with 790 additions and 604 deletions

View File

@ -0,0 +1,38 @@
[package]
name = "reth-libmdbx"
version = "0.1.6"
edition = "2021"
license = "Apache-2.0"
description = "Idiomatic and safe MDBX wrapper with good licence"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
[lib]
name = "reth_libmdbx"
[dependencies]
bitflags = "1"
byteorder = "1"
derive_more = "0.99"
indexmap = "1"
libc = "0.2"
parking_lot = "0.12"
thiserror = "1"
ffi = { package = "reth-mdbx-sys", path = "./mdbx-sys" }
lifetimed-bytes = { version = "0.1", optional = true }
[dev-dependencies]
criterion = "0.4"
rand = "0.8"
rand_xorshift = "0.3"
tempfile = "3"
[[bench]]
name = "cursor"
harness = false
[[bench]]
name = "transaction"
harness = false