[[bench]]
harness = false
name = "ycsb"
path = "benches/ycsb.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bincode]
version = "1"
[dependencies.bytemuck]
features = ["derive"]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.crossbeam]
version = "0.8"
[dependencies.crossbeam-utils]
version = "0.8"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
features = ["full"]
version = "1"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1"
[dependencies.xxhash-rust]
default-features = false
optional = true
version = "0.8"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rayon]
version = "1.10"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "async_operations"
path = "examples/async_operations.rs"
[[example]]
name = "basic_kv"
path = "examples/basic_kv.rs"
[[example]]
name = "cold_index"
path = "examples/cold_index.rs"
[[example]]
name = "compaction"
path = "examples/compaction.rs"
[[example]]
name = "concurrent_access"
path = "examples/concurrent_access.rs"
[[example]]
name = "config_store"
path = "examples/config_store.rs"
[[example]]
name = "custom_types"
path = "examples/custom_types.rs"
[[example]]
name = "epoch_protection"
path = "examples/epoch_protection.rs"
[[example]]
name = "f2_hot_cold"
path = "examples/f2_hot_cold.rs"
[[example]]
name = "faster_log"
path = "examples/faster_log.rs"
[[example]]
name = "index_growth"
path = "examples/index_growth.rs"
[[example]]
name = "io_uring"
path = "examples/io_uring.rs"
[[example]]
name = "log_scan"
path = "examples/log_scan.rs"
[[example]]
name = "read_cache"
path = "examples/read_cache.rs"
[[example]]
name = "statistics"
path = "examples/statistics.rs"
[[example]]
name = "variable_length"
path = "examples/variable_length.rs"
[features]
default = ["hash-xxh3"]
f2 = []
hash-xxh3 = ["dep:xxhash-rust", "xxhash-rust/xxh3"]
hash-xxh64 = ["dep:xxhash-rust", "xxhash-rust/xxh64"]
io_uring = ["dep:io-uring"]
statistics = []
[lib]
name = "oxifaster"
path = "src/lib.rs"
[lints.rust]
warnings = "deny"
[package]
authors = ["oxifaster contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database", "data-structures", "concurrency"]
description = "A high-performance concurrent key-value store and log engine in Rust"
edition = "2021"
keywords = ["kv-store", "database", "concurrent", "log", "storage"]
license = "MIT"
name = "oxifaster"
readme = "README.md"
repository = "https://github.com/wayslog/oxifaster"
rust-version = "1.92.0"
version = "0.1.2"
[profile.bench]
codegen-units = 1
lto = true
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
optional = true
version = "0.6"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[[test]]
name = "async_session"
path = "tests/async_session.rs"
[[test]]
name = "auto_compaction"
path = "tests/auto_compaction.rs"
[[test]]
name = "basic_ops"
path = "tests/basic_ops.rs"
[[test]]
name = "checkpoint"
path = "tests/checkpoint.rs"
[[test]]
name = "checkpoint_concurrent"
path = "tests/checkpoint_concurrent.rs"
[[test]]
name = "checkpoint_crash"
path = "tests/checkpoint_crash.rs"
[[test]]
name = "checkpoint_locks"
path = "tests/checkpoint_locks.rs"
[[test]]
name = "cold_index"
path = "tests/cold_index.rs"
[[test]]
name = "compaction"
path = "tests/compaction.rs"
[[test]]
name = "cpr_checkpoint_under_load"
path = "tests/cpr_checkpoint_under_load.rs"
[[test]]
name = "cpr_integration"
path = "tests/cpr_integration.rs"
[[test]]
name = "f2"
path = "tests/f2.rs"
[[test]]
name = "f2_alignment"
path = "tests/f2_alignment.rs"
[[test]]
name = "faster_log"
path = "tests/faster_log.rs"
[[test]]
name = "hash"
path = "tests/hash.rs"
[[test]]
name = "incremental_checkpoint"
path = "tests/incremental_checkpoint.rs"
[[test]]
name = "index_growth"
path = "tests/index_growth.rs"
[[test]]
name = "log_scan"
path = "tests/log_scan.rs"
[[test]]
name = "log_truncation"
path = "tests/log_truncation.rs"
[[test]]
name = "ops_checkpoint"
path = "tests/ops_checkpoint.rs"
[[test]]
name = "pending_io"
path = "tests/pending_io.rs"
[[test]]
name = "read_cache"
path = "tests/read_cache.rs"
[[test]]
name = "read_view"
path = "tests/read_view.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "recovery_validation"
path = "tests/recovery_validation.rs"
[[test]]
name = "statistics"
path = "tests/statistics.rs"
[[test]]
name = "varlen"
path = "tests/varlen.rs"