decimal-bytes 0.3.0

Arbitrary precision decimals with lexicographically sortable byte encoding
Documentation
[package]
name = "decimal-bytes"
version = "0.3.0"
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 = []
# Enable conversion to/from rust_decimal::Decimal
rust_decimal = ["dep:rust_decimal"]
# Enable conversion to/from bigdecimal::BigDecimal  
bigdecimal = ["dep:bigdecimal"]

[dependencies]
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"

# Optional dependencies for interop with other decimal libraries
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