nimiq-database 1.2.2

A LMDB database wrapper with support for volatile storage
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "nimiq-database"
version = "1.2.2"
authors = [
    "Pascal B <git@paberr.net>",
    "The Nimiq Core Development Team <info@nimiq.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A LMDB database wrapper with support for volatile storage"
homepage = "https://nimiq.com"
readme = false
keywords = [
    "nimiq",
    "cryptocurrency",
    "blockchain",
]
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/nimiq/core-rs-albatross"
resolver = "2"

[badges.is-it-maintained-issue-resolution]
repository = "nimiq/core-rs"

[badges.is-it-maintained-open-issues]
repository = "nimiq/core-rs"

[badges.maintenance]
status = "experimental"

[badges.travis-ci]
branch = "master"
repository = "nimiq/core-rs"

[lib]
name = "nimiq_database"
path = "src/lib.rs"

[[bench]]
name = "hash_keys"
path = "benches/hash_keys.rs"
harness = false

[[bench]]
name = "pruning"
path = "benches/pruning.rs"
harness = false

[dependencies.libmdbx]
version = "0.6.6"

[dependencies.log]
version = "0.1.40"
features = ["log"]
package = "tracing"

[dependencies.nimiq-database-value]
version = "1.2.2"
default-features = false

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.pprof]
version = "0.15"
features = [
    "flamegraph",
    "frame-pointer",
    "criterion",
]

[dev-dependencies.rand]
version = "0.9"

[lints.clippy]
assigning_clones = "allow"
empty_docs = "allow"
large_enum_variant = "allow"
result_large_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.rust]
unused_qualifications = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]