jdb_pgm 0.3.16

Ultra-fast learned index for sorted keys / 面向排序键的超快学习型索引
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "jdb_pgm"
version = "0.3.16"
authors = [
    "jssite@googlegroups.com",
    "Andrei Riaskov <code@riaskov.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-fast learned index for sorted keys / 面向排序键的超快学习型索引"
homepage = "https://github.com/js0-site/rust"
readme = "README.md"
keywords = [
    "learned-index",
    "pgm-index",
    "search",
    "database",
    "performance",
]
categories = [
    "algorithms",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bitcode = ["dep:bitcode"]
data = []
default = ["data"]
key_to_u64 = []
pk = []

[lib]
name = "jdb_pgm"
path = "src/lib.rs"

[[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"

[[test]]
name = "data"
path = "tests/data.rs"

[[test]]
name = "pgm"
path = "tests/pgm.rs"

[[test]]
name = "pgm_range"
path = "tests/pgm_range.rs"

[[bench]]
name = "bench_binary"
path = "benches/bench_binary.rs"

[[bench]]
name = "bench_btreemap"
path = "benches/bench_btreemap.rs"

[[bench]]
name = "bench_external_pgm"
path = "benches/bench_external_pgm.rs"

[[bench]]
name = "bench_hashmap"
path = "benches/bench_hashmap.rs"

[[bench]]
name = "bench_jdb_pgm"
path = "benches/bench_jdb_pgm.rs"

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false

[dependencies.bitcode]
version = "0.6.9"
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.log_init]
version = "0.1.34"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rapidhash]
version = "4.2"

[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"

[dev-dependencies.tikv-jemalloc-ctl]
version = "0.6"
features = ["stats"]

[dev-dependencies.tikv-jemallocator]
version = "0.6"