# 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.66" name = "redb" version = "2.2.0" authors = ["Christopher Berner "] exclude = ["fuzz/"] description = "Rust Embedded DataBase" homepage = "https://www.redb.org" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/cberner/redb" [profile.bench] debug = true [lib] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "atomics_benchmark" harness = false [[bench]] name = "multithreaded_insert_benchmark" harness = false [[bench]] name = "userspace_cache_benchmark" harness = false [[bench]] name = "lmdb_benchmark" harness = false [[bench]] name = "large_values_benchmark" harness = false [[bench]] name = "int_benchmark" harness = false [[bench]] name = "syscall_benchmark" harness = false [dependencies.log] version = "0.4.17" optional = true [dependencies.pyo3] version = "0.22.0" features = [ "extension-module", "abi3-py37", ] optional = true [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.byte-unit] version = "=5.0.4" [dev-dependencies.fastrand] version = "2.0.0" [dev-dependencies.libc] version = "0.2.99" [dev-dependencies.rand] version = "0.8" [dev-dependencies.redb1] version = "=1.0.0" package = "redb" [dev-dependencies.redb2] version = "=2.0.0" package = "redb" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.sled] version = "0.34.7" [dev-dependencies.tempfile] version = "3.5.0" [dev-dependencies.walkdir] version = "2.5.0" [build-dependencies.pyo3-build-config] version = "0.22.0" optional = true [features] cache_metrics = [] logging = ["dep:log"] python = [ "dep:pyo3", "dep:pyo3-build-config", ] [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.comfy-table] version = "7.0.1" [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.ctrlc] version = "=3.2.3" [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.heed] version = "0.20" [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.rocksdb] version = "0.22.0" [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.sanakirja] version = "=1.4.1" [target."cfg(not(target_os = \"wasi\"))".dev-dependencies.sanakirja-core] version = "=1.4.1" [target."cfg(target_os = \"linux\")".dev-dependencies.io-uring] version = "0.6.2" [target."cfg(unix)".dependencies.libc] version = "0.2.104"