[package]
name = "fixed_decimal"
description = "An API for representing numbers in a human-readable form"
version = "0.5.6"
authors.workspace = true
categories.workspace = true
edition.workspace = true
include.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[package.metadata.workspaces]
independent = true
[package.metadata.docs.rs]
all-features = true
[dependencies]
displaydoc = { workspace = true }
smallvec = { workspace = true }
writeable = { workspace = true }
ryu = { workspace = true, features = ["small"], optional = true }
[dev-dependencies]
getrandom = { workspace = true, features = ["js"] }
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
rand = { workspace = true }
rand_distr = { workspace = true }
rand_pcg = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { workspace = true }
[features]
std = []
bench = ["ryu"]
experimental = []
ryu = ["dep:ryu"]
[lib]
bench = false
[package.metadata.cargo-all-features]
denylist = ["bench"]
[[bench]]
name = "fixed_decimal"
harness = false