libmdbx 0.6.6

Idiomatic and safe MDBX wrapper.
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 = "libmdbx"
version = "0.6.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic and safe MDBX wrapper."
homepage = "https://github.com/vorot93/libmdbx-rs"
documentation = "https://docs.rs/libmdbx"
readme = "README.md"
keywords = [
    "MDBX",
    "database",
    "storage-engine",
    "bindings",
]
categories = ["database"]
license = "MPL-2.0"
repository = "https://github.com/vorot93/libmdbx-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cbor = ["ciborium"]
orm = [
    "anyhow",
    "arrayref",
    "arrayvec",
    "impls",
    "tempfile",
]

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

[[test]]
name = "cursor"
path = "tests/cursor.rs"

[[test]]
name = "environment"
path = "tests/environment.rs"

[[test]]
name = "transaction"
path = "tests/transaction.rs"

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

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

[[bench]]
name = "utils"
path = "benches/utils.rs"

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.arrayref]
version = "0.3"
optional = true

[dependencies.arrayvec]
version = "0.7"
optional = true

[dependencies.bitflags]
version = "2"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.ciborium]
version = "0.2"
optional = true

[dependencies.derive_more]
version = "2"
features = [
    "deref",
    "deref_mut",
    "display",
    "from",
]

[dependencies.ffi]
version = "=13.11.0"
package = "mdbx-sys"

[dependencies.impls]
version = "1"
optional = true

[dependencies.indexmap]
version = "2"

[dependencies.libc]
version = "0.2"

[dependencies.lifetimed-bytes]
version = "0.1"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.sealed]
version = "0.6"

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.once_cell]
version = "1"

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

[dev-dependencies.rand_xorshift]
version = "0.4"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3"