[package]
edition = "2024"
rust-version = "1.85"
name = "page-db"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The paging substrate beneath B-tree and heap storage engines - fixed-size pages, CRC32 headers with LSN slots, an LRU buffer pool with dirty-page pinning, and cross-platform Direct I/O."
homepage = "https://github.com/jamesgober/page-db"
documentation = "https://docs.rs/page-db"
readme = "README.md"
keywords = [
"page",
"buffer-pool",
"paging",
"storage-engine",
"direct-io",
]
categories = [
"database-implementations",
"filesystem",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/page-db"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "page_db"
path = "src/lib.rs"
[[test]]
name = "direct_io"
path = "tests/direct_io.rs"
[[test]]
name = "proptests"
path = "tests/proptests.rs"
[[bench]]
name = "page_bench"
path = "benches/page_bench.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"