[package]
name = "decimal-bytes"
version = "0.3.1"
authors = ["ParadeDB <support@paradedb.com>"]
license = "MIT"
categories = ["encoding", "data-structures"]
description = "Arbitrary precision decimals with lexicographically sortable byte encoding"
repository = "https://github.com/paradedb/decimal-bytes"
homepage = "https://github.com/paradedb/decimal-bytes"
keywords = ["decimal", "numeric", "encoding", "sortable"]
edition = "2021"
rust-version = "1.85"
[features]
default = []
rust_decimal = ["dep:rust_decimal"]
bigdecimal = ["dep:bigdecimal"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"
rust_decimal = { version = "1.36", optional = true }
bigdecimal = { version = "0.4", optional = true }
[dev-dependencies]
proptest = "1.0"
serde_json = "1.0"
criterion = "0.5"
[[bench]]
name = "benchmarks"
harness = false