-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
34 lines (28 loc) · 1.06 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "chinese-number"
version = "0.7.7"
authors = ["Magic Len <[email protected]>"]
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"]