# 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 = "2021" rust-version = "1.79" name = "libmdbx" version = "0.5.2" build = 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", ] [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 = "1" features = [ "deref", "deref_mut", "display", "from", ] [dependencies.ffi] version = "=12.10.1" 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.5" [dependencies.tempfile] version = "3" optional = true [dependencies.thiserror] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.once_cell] version = "1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tempfile] version = "3" [features] cbor = ["ciborium"] orm = [ "anyhow", "arrayref", "arrayvec", "impls", "tempfile", ]