Cargo Features
[dependencies]
chinese-rand = { version = "0.2.1", default-features = false, features = ["digit-sequence", "currency", "gregorian", "fastrand"] }
- default = fastrand
-
The
fastrand
feature is set by default wheneverchinese-rand
is added without
somewhere in the dependency tree.default-features = false - digit-sequence gregorian?
-
Enables digit-sequence, digit-sequence of chinese-format
- currency
-
Enables currency of chinese-format
- gregorian = digit-sequence
-
Enables gregorian of chinese-format
Affects
chinese-rand::gregorian
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- fastrand default