cb-digest 0.4.0

A direct port of the Golang DDSketch implementation.
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"
name = "cb-digest"
version = "0.4.0"
authors = ["Adarsh Srivastava <adarsh@ctrlb.ai>"]
build = false
exclude = [".gitignore"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A direct port of the Golang DDSketch implementation.
"""
homepage = "https://github.com/ctrlb-hq/cb-digest"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ctrlb-hq/cb-digest"

[features]
default = ["use_rkyv"]
use_rkyv = ["rkyv"]
use_serde = [
    "serde",
    "serde/derive",
]

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

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

[dependencies.rkyv]
version = "0.8.10"
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "serde_derive",
]
optional = true
package = "serde"

[dev-dependencies.approx]
version = "0.5.1"

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

[dev-dependencies.rand_distr]
version = "0.4.3"