[package]
edition = "2024"
rust-version = "1.89.0"
name = "rust-rocksdb"
version = "0.46.0"
authors = [
"Tyler Neely <t@jujit.su>",
"David Greenberg <dsg123456789@gmail.com>",
]
build = false
exclude = [
".gitignore",
".travis.yml",
"deploy.sh",
"test/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust wrapper for Facebook's RocksDB embeddable database"
homepage = "https://github.com/zaidoon1/rust-rocksdb"
readme = "README.md"
keywords = [
"database",
"embedded",
"LSM-tree",
"persistence",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/zaidoon1/rust-rocksdb"
[features]
bindgen-runtime = ["rust-librocksdb-sys/bindgen-runtime"]
bindgen-static = ["rust-librocksdb-sys/bindgen-static"]
bzip2 = ["rust-librocksdb-sys/bzip2"]
default = [
"snappy",
"lz4",
"zstd",
"zlib",
"bzip2",
"bindgen-runtime",
]
io-uring = ["rust-librocksdb-sys/io-uring"]
jemalloc = ["rust-librocksdb-sys/jemalloc"]
lto = ["rust-librocksdb-sys/lto"]
lz4 = ["rust-librocksdb-sys/lz4"]
malloc-usable-size = ["rust-librocksdb-sys/malloc-usable-size"]
mt_static = ["rust-librocksdb-sys/mt_static"]
multi-threaded-cf = []
raw-ptr = []
rtti = ["rust-librocksdb-sys/rtti"]
serde1 = ["serde"]
snappy = ["rust-librocksdb-sys/snappy"]
valgrind = []
zlib = ["rust-librocksdb-sys/zlib"]
zstd = ["rust-librocksdb-sys/zstd"]
zstd-static-linking-only = ["rust-librocksdb-sys/zstd-static-linking-only"]
[lib]
name = "rust_rocksdb"
path = "src/lib.rs"
[[test]]
name = "test_backup"
path = "tests/test_backup.rs"
[[test]]
name = "test_checkpoint"
path = "tests/test_checkpoint.rs"
[[test]]
name = "test_column_family"
path = "tests/test_column_family.rs"
[[test]]
name = "test_compactionfilter"
path = "tests/test_compactionfilter.rs"
[[test]]
name = "test_comparator"
path = "tests/test_comparator.rs"
[[test]]
name = "test_db"
path = "tests/test_db.rs"
[[test]]
name = "test_event_listener"
path = "tests/test_event_listener.rs"
[[test]]
name = "test_iterator"
path = "tests/test_iterator.rs"
[[test]]
name = "test_merge_operator"
path = "tests/test_merge_operator.rs"
[[test]]
name = "test_multiget_pinned"
path = "tests/test_multiget_pinned.rs"
[[test]]
name = "test_multithreaded"
path = "tests/test_multithreaded.rs"
[[test]]
name = "test_optimistic_transaction_db"
path = "tests/test_optimistic_transaction_db.rs"
[[test]]
name = "test_optimistic_transaction_db_memory_usage"
path = "tests/test_optimistic_transaction_db_memory_usage.rs"
[[test]]
name = "test_perf"
path = "tests/test_perf.rs"
[[test]]
name = "test_pinnable_slice"
path = "tests/test_pinnable_slice.rs"
[[test]]
name = "test_prefix"
path = "tests/test_prefix.rs"
[[test]]
name = "test_property"
path = "tests/test_property.rs"
[[test]]
name = "test_raw_iterator"
path = "tests/test_raw_iterator.rs"
[[test]]
name = "test_raw_ptr"
path = "tests/test_raw_ptr.rs"
[[test]]
name = "test_rocksdb_options"
path = "tests/test_rocksdb_options.rs"
[[test]]
name = "test_single_delete"
path = "tests/test_single_delete.rs"
[[test]]
name = "test_slice_transform"
path = "tests/test_slice_transform.rs"
[[test]]
name = "test_sst_file_manager"
path = "tests/test_sst_file_manager.rs"
[[test]]
name = "test_sst_file_writer"
path = "tests/test_sst_file_writer.rs"
[[test]]
name = "test_transaction_db"
path = "tests/test_transaction_db.rs"
[[test]]
name = "test_transaction_db_memory_usage"
path = "tests/test_transaction_db_memory_usage.rs"
[[test]]
name = "test_transaction_db_property"
path = "tests/test_transaction_db_property.rs"
[[test]]
name = "test_write_batch"
path = "tests/test_write_batch.rs"
[[test]]
name = "test_write_batch_with_index"
path = "tests/test_write_batch_with_index.rs"
[[test]]
name = "test_zero_copy"
path = "tests/test_zero_copy.rs"
[dependencies.libc]
version = "0.2"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rust-librocksdb-sys]
version = "0.42.0"
features = ["static"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.trybuild]
version = "1"