[[bench]]
harness = false
name = "pgm_vs_binary"
path = "benches/pgm_vs_binary.rs"
[dependencies.bitcode]
optional = true
version = "0.6.9"
[dependencies.tikv-jemalloc-ctl]
features = ["stats"]
optional = true
version = "0.6"
[dependencies.tikv-jemallocator]
optional = true
version = "0.6"
[dev-dependencies.aok]
version = "0.1.18"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8"
[dev-dependencies.log]
version = "0.4.29"
[dev-dependencies.log_init]
version = "0.1.34"
[dev-dependencies.pgm_index]
version = "0.3"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.serde]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.sonic-rs]
version = "0.5"
[dev-dependencies.static_init]
version = "1.0.4"
[[example]]
name = "simple_benchmark"
path = "examples/simple_benchmark.rs"
[[example]]
name = "test_bitcode"
path = "examples/test_bitcode.rs"
required-features = ["bitcode"]
[[example]]
name = "test_pgm_bitcode"
path = "examples/test_pgm_bitcode.rs"
[features]
bitcode = ["dep:bitcode"]
default = []
jemalloc = ["tikv-jemalloc-ctl", "tikv-jemallocator"]
key_to_u64 = []
[lib]
name = "jdb_pgm"
path = "src/lib.rs"
[package]
authors = ["jssite@googlegroups.com", "Andrei Riaskov <code@riaskov.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "algorithms", "database-implementations"]
description = "Ultra-fast single-threaded PGM-Index optimized for thread-per-core architecture / 专为单线程一核架构优化的超快 PGM 索引"
edition = "2024"
homepage = "https://github.com/js0-site/jdb"
keywords = ["pgm-index", "learned-index", "search", "database", "performance"]
license = "MIT"
name = "jdb_pgm"
readme = "README.md"
repository = "https://github.com/js0-site/jdb.git"
resolver = "2"
version = "0.3.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "main"
path = "tests/main.rs"