Files
nanoreth/crates/storage/libmdbx-rs/Cargo.toml
2023-07-10 15:31:43 +00:00

45 lines
874 B
TOML

[package]
name = "reth-libmdbx"
version.workspace = true
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 = "2"
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.12", features = ["flamegraph", "frame-pointer", "criterion"] }
criterion = "0.5"
rand = { workspace = true }
rand_xorshift = "0.3"
tempfile = "3"
[[bench]]
name = "cursor"
harness = false
[[bench]]
name = "transaction"
harness = false