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