pagers-core 0.2.2

Core library for page cache diagnostics and control on Linux and macOS
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"
rust-version = "1.88.0"
name = "pagers-core"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for page cache diagnostics and control on Linux and macOS"
readme = "README.md"
keywords = [
    "page-cache",
    "cachestat",
    "mincore",
    "mlock",
    "filesystem",
]
categories = [
    "filesystem",
    "os",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LilDojd/pagers"

[features]
bitvec = ["dep:bitvec"]
default = ["bitvec"]
log-max-level-info = ["tracing/max_level_info"]
serde = [
    "dep:serde",
    "bitvec?/serde",
]

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

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

[dependencies.bitvec]
version = "1"
optional = true

[dependencies.dua-core]
version = "2.41.1"

[dependencies.fs-err]
version = "3"

[dependencies.humantime]
version = "2"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.nix]
version = "0.31"
features = [
    "fs",
    "mman",
    "feature",
]

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.tempfile]
version = "3"