[package]
edition = "2024"
name = "riegeli"
version = "0.1.0"
build = "build.rs"
exclude = ["testdata/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the Riegeli/records file format"
readme = "README.md"
keywords = [
"riegeli",
"records",
"protobuf",
"serialization",
]
categories = [
"encoding",
"compression",
]
license-file = "LICENSE"
repository = "https://github.com/mikedanese/riegeli-rs"
resolver = "2"
[features]
brotli = ["dep:brotli"]
default = ["zstd"]
snappy = ["dep:snap"]
zstd = ["dep:zstd"]
[lib]
name = "riegeli"
path = "src/lib.rs"
[[test]]
name = "benchmark_correctness"
path = "tests/benchmark_correctness.rs"
[[test]]
name = "binary_search"
path = "tests/binary_search.rs"
[[test]]
name = "chunk_encoding"
path = "tests/chunk_encoding.rs"
[[test]]
name = "compression"
path = "tests/compression.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "cross_lang_roundtrip"
path = "tests/cross_lang_roundtrip.rs"
[[test]]
name = "field_projection"
path = "tests/field_projection.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "padding"
path = "tests/padding.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "reader_api"
path = "tests/reader_api.rs"
[[test]]
name = "reader_edge_cases"
path = "tests/reader_edge_cases.rs"
[[test]]
name = "record_io"
path = "tests/record_io.rs"
[[test]]
name = "record_position"
path = "tests/record_position.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "transpose_adversarial"
path = "tests/transpose_adversarial.rs"
[[test]]
name = "transpose_encoding"
path = "tests/transpose_encoding.rs"
[[test]]
name = "transpose_projection"
path = "tests/transpose_projection.rs"
[[test]]
name = "transpose_refactor"
path = "tests/transpose_refactor.rs"
[[test]]
name = "transpose_roundtrip"
path = "tests/transpose_roundtrip.rs"
[[test]]
name = "tuning"
path = "tests/tuning.rs"
[[test]]
name = "writer_api"
path = "tests/writer_api.rs"
[[bench]]
name = "head_to_head"
path = "benches/head_to_head.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.brotli]
version = "8"
optional = true
[dependencies.highway]
version = "1.3"
[dependencies.protobuf]
version = "4.34.1-release"
[dependencies.snap]
version = "1"
optional = true
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.pprof]
version = "0.15"
features = [
"criterion",
"protobuf-codec",
]
[dev-dependencies.proptest]
version = "1"
[build-dependencies.protobuf-codegen]
version = "4.34.1-release"