tsdb-reader 0.2.0

Read-only, zero-copy Prometheus TSDB block reader: index v1-v3, all chunk encodings, integer histograms, postings lookups, tombstones
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 = "2021"
rust-version = "1.77"
name = "tsdb-reader"
version = "0.2.0"
build = false
include = [
    "src/**",
    "tests/**",
    "benches/**",
    "README.md",
    "LICENSE",
    "LICENSE-APACHE",
    "NOTICE",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only, zero-copy Prometheus TSDB block reader: index v1-v3, all chunk encodings, integer histograms, postings lookups, tombstones"
homepage = "https://github.com/zhuyanxi/tsdb-reader"
documentation = "https://docs.rs/tsdb-reader"
readme = "README.md"
keywords = [
    "prometheus",
    "tsdb",
    "metrics",
    "parser",
    "time-series",
]
categories = [
    "database",
    "database-implementations",
    "encoding",
]
license = "MIT"
repository = "https://github.com/zhuyanxi/tsdb-reader"

[package.metadata.docs.rs]
all-features = true

[features]
crc = ["dep:crc32c"]
default = [
    "mmap",
    "crc",
    "meta",
]
meta = ["dep:serde_json"]
mmap = ["dep:memmap2"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.crc32c]
version = "0.6"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.crc32c]
version = "0.6"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.serde_json]
version = "1"