chronix-encoding 0.7.0

Column-oriented encoding and compression for the Chronix time-series database
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.94"
name = "chronix-encoding"
version = "0.7.0"
authors = ["hupe1980"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Column-oriented encoding and compression for the Chronix time-series database"
homepage = "https://github.com/hupe1980/chronix"
documentation = "https://docs.rs/chronix"
readme = "README.md"
keywords = [
    "compression",
    "encoding",
    "timeseries",
    "alp",
    "gorilla",
]
categories = [
    "compression",
    "encoding",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/chronix"
resolver = "2"

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

[lib]
name = "chronix_encoding"
path = "src/lib.rs"
doctest = false

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

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

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

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

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

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

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

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

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

[dependencies.chronix-core]
version = "0.7.0"

[dependencies.pco]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

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

[lints.clippy]
cloned_instead_of_copied = "warn"
expect_used = "allow"
flat_map_option = "warn"
implicit_clone = "warn"
indexing_slicing = "allow"
large_futures = "warn"
manual_let_else = "allow"
needless_pass_by_value = "warn"
panic = "warn"
redundant_closure_for_method_calls = "warn"
trivially_copy_pass_by_ref = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "warn"