[package]
edition = "2021"
name = "kyumdb"
version = "0.2.0"
authors = ["LayerZero Labs Research"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance verifiable key-value store with SHA256 Merkle trees and optional CUDA GPU acceleration, designed for blockchain state storage."
homepage = "https://github.com/bajpainaman/kyumdb"
documentation = "https://docs.rs/kyumdb"
readme = "README.md"
keywords = [
"merkle-tree",
"blockchain",
"key-value-store",
"gpu",
"sha256",
]
categories = [
"database",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bajpainaman/kyumdb"
[features]
check_hybridindexer = []
check_rec = []
cuda = [
"cudarc",
"flash-map",
]
default = ["tikv-jemallocator"]
directio = ["io-uring"]
hpfile_all_in_mem = []
in_sp1 = []
profiling_hybridindexer = []
slow_hashing = []
tee_cipher = []
use_hybridindexer = []
[lib]
name = "kyumdb"
path = "src/lib.rs"
[[example]]
name = "v1_fuzz"
path = "examples/v1_fuzz/main.rs"
[[example]]
name = "v2_demo"
path = "examples/v2_demo.rs"
[[example]]
name = "v3_indexer"
path = "examples/v3_indexer.rs"
[[test]]
name = "comprehensive_tests"
path = "tests/comprehensive_tests.rs"
[[test]]
name = "test_ads"
path = "tests/test_ads.rs"
[[test]]
name = "test_consistency_with_seqads"
path = "tests/test_consistency_with_seqads.rs"
[[test]]
name = "test_entry"
path = "tests/test_entry.rs"
[[test]]
name = "test_proof"
path = "tests/test_proof.rs"
[[test]]
name = "test_recover"
path = "tests/test_recover.rs"
[[test]]
name = "test_tree"
path = "tests/test_tree.rs"
[[bench]]
name = "hash_benchmarks"
path = "benches/hash_benchmarks.rs"
harness = false
[dependencies.aead]
version = "0.5.2"
[dependencies.aes-gcm]
version = "0.10.3"
[dependencies.anyhow]
version = "1.0.86"
[dependencies.atomptr]
version = "1.4.1"
[dependencies.bincode]
version = "1.3.3"
[dependencies.blake2]
version = "0.10.6"
[dependencies.bytemuck]
version = "1.14"
features = ["derive"]
[dependencies.byteorder]
version = "1.5.0"
[dependencies.cudarc]
version = "0.12"
features = ["cuda-12060"]
optional = true
[dependencies.dashmap]
version = "6.0.0-rc.1"
[dependencies.flash-map]
version = "0.1"
features = [
"cuda",
"cpu-fallback",
]
optional = true
[dependencies.generic-array]
version = "1.1.1"
[dependencies.hex]
version = "0.4.3"
[dependencies.hpfile]
version = "0.3"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.log]
version = "0.4"
[dependencies.parking_lot]
version = "0.12.1"
features = ["arc_lock"]
[dependencies.rand_core]
version = "0.6.4"
features = ["getrandom"]
[dependencies.rayon]
version = "1.10.0"
[dependencies.rs_merkle]
version = "1.4"
[dependencies.serde]
version = "1.0.210"
features = ["derive"]
[dependencies.sha2]
version = "0.10.8"
features = [
"asm",
"asm-aarch64",
"sha2-asm",
]
[dependencies.threadpool]
version = "1.8.1"
[dependencies.time]
version = ">=0.3.36, <0.3.37"
[dependencies.xxhash-rust]
version = "0.8.10"
features = [
"xxh32",
"xxh3",
]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.memory-stats]
version = "1.2.0"
[dev-dependencies.rocksdb]
version = "0.22.0"
[dev-dependencies.serial_test]
version = "3.1.1"
[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
version = "0.6.0"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7.2"
optional = true