Files
nanoreth/crates/storage/libmdbx-rs/Cargo.toml
2023-06-13 22:46:26 +00:00

45 lines
867 B
TOML

[package]
name = "reth-libmdbx"
version = "0.1.6"
edition.workspace = true
rust-version.workspace = true
license = "Apache-2.0"
description = "Idiomatic and safe MDBX wrapper with good licence"
homepage.workspace = true
repository.workspace = true
[lib]
name = "reth_libmdbx"
[dependencies]
bitflags = "1"
byteorder = "1"
derive_more = "0.99"
indexmap = "1"
libc = "0.2"
parking_lot = "0.12"
thiserror = { workspace = true }
ffi = { package = "reth-mdbx-sys", path = "./mdbx-sys" }
lifetimed-bytes = { version = "0.1", optional = true }
[features]
default = []
return-borrowed = []
[dev-dependencies]
pprof = { version = "0.11", features = ["flamegraph", "frame-pointer", "criterion"] }
criterion = "0.4"
rand = { workspace = true }
rand_xorshift = "0.3"
tempfile = "3"
[[bench]]
name = "cursor"
harness = false
[[bench]]
name = "transaction"
harness = false