[[bench]]
harness = false
name = "atomics_benchmark"
path = "benches/atomics_benchmark.rs"
[[bench]]
name = "common"
path = "benches/common.rs"
[[bench]]
harness = false
name = "int_benchmark"
path = "benches/int_benchmark.rs"
[[bench]]
harness = false
name = "large_values_benchmark"
path = "benches/large_values_benchmark.rs"
[[bench]]
harness = false
name = "lmdb_benchmark"
path = "benches/lmdb_benchmark.rs"
[[bench]]
harness = false
name = "multithreaded_insert_benchmark"
path = "benches/multithreaded_insert_benchmark.rs"
[[bench]]
harness = false
name = "savepoint_benchmark"
path = "benches/savepoint_benchmark.rs"
[[bench]]
harness = false
name = "syscall_benchmark"
path = "benches/syscall_benchmark.rs"
[[bench]]
harness = false
name = "userspace_cache_benchmark"
path = "benches/userspace_cache_benchmark.rs"
[build-dependencies.pyo3-build-config]
optional = true
version = "0.22.0"
[dependencies.log]
optional = true
version = "0.4.17"
[dependencies.pyo3]
features = ["extension-module", "abi3-py37"]
optional = true
version = "0.22.0"
[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]
package = "redb"
version = "=1.0.0"
[dev-dependencies.redb2]
package = "redb"
version = "=2.0.0"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.sled]
version = "0.34.7"
[dev-dependencies.tempfile]
version = "3.5.0"
[dev-dependencies.walkdir]
version = "2.5.0"
[[example]]
name = "bincode_keys"
path = "examples/bincode_keys.rs"
[[example]]
name = "int_keys"
path = "examples/int_keys.rs"
[[example]]
name = "special_values"
path = "examples/special_values.rs"
[features]
cache_metrics = []
logging = ["dep:log"]
python = ["dep:pyo3", "dep:pyo3-build-config"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "redb"
path = "src/lib.rs"
[package]
authors = ["Christopher Berner <me@cberner.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
description = "Rust Embedded DataBase"
edition = "2021"
exclude = ["fuzz/"]
homepage = "https://www.redb.org"
license = "MIT OR Apache-2.0"
name = "redb"
readme = "README.md"
repository = "https://github.com/cberner/redb"
rust-version = "1.81"
version = "2.4.0"
[profile.bench]
debug = 2
[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"
[[test]]
name = "backward_compatibility"
path = "tests/backward_compatibility.rs"
[[test]]
name = "basic_tests"
path = "tests/basic_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "multimap_tests"
path = "tests/multimap_tests.rs"
[[test]]
name = "multithreading_tests"
path = "tests/multithreading_tests.rs"