[package]
edition = "2024"
rust-version = "1.85"
name = "chislo"
version = "0.3.1"
build = false
exclude = [
".github/",
"examples/",
"tests/",
"benches/",
"fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert numbers to Russian words (числа прописью) with grammatical gender, noun declension, ordinals, currency, percentages, durations and dates. Supports i64 integers (quintillions) and decimals with configurable precision."
homepage = "https://rekurt.github.io/chislo/"
documentation = "https://docs.rs/chislo"
readme = "README.md"
keywords = [
"russian",
"numbers",
"words",
"declension",
"chislo",
]
categories = [
"localization",
"text-processing",
"value-formatting",
"no-std",
]
license = "MIT"
repository = "https://github.com/rekurt/chislo"
[features]
decimal = ["dep:rust_decimal"]
default = [
"std",
"decimal",
]
std = []
wasm = [
"dep:wasm-bindgen",
"std",
]
[lib]
name = "chislo"
path = "src/lib.rs"
[dependencies.rust_decimal]
version = "1"
optional = true
default-features = false
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
default-features = false