[dependencies.chinese-variant]
version = "1"
[dependencies.enum-ordinalize]
version = "4.2"
[dependencies.num-bigint]
default-features = false
optional = true
version = "0.4"
[dependencies.num-traits]
default-features = false
optional = true
version = "0.2"
[dev-dependencies.assert-eq-float]
version = "0.1"
[features]
chinese-to-number = ["num-traits"]
default = ["std", "number-to-chinese", "chinese-to-number"]
number-to-chinese = ["num-bigint", "num-traits"]
std = []
[package]
authors = ["Magic Len <len@magiclen.org>"]
categories = ["no-std", "localization", "parser-implementations", "value-formatting"]
description = "Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers."
edition = "2021"
homepage = "https://magiclen.org/chinese-number"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
keywords = ["chinese", "number", "integer", "money", "float"]
license = "MIT"
name = "chinese-number"
readme = "README.md"
repository = "https://github.com/magiclen/chinese-number"
rust-version = "1.60"
version = "0.7.7"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]