chinese-rand
Random generation of data structures in Chinese, using Rust
This crate is designed to instantiate random instances
of the data structures implementing the ChineseFormat trait, made available by chinese_format.
The core concept is the ChineseFormatGenerator struct,
which can be instantiated by passing an object implementing
the RawGenerator trait:
use ;
use *;
Features
-
fastrand: enablesFastRandGenerator, based on fastrand. Enabled by default. -
digit-sequence: enables random generation of data types - likeDecimal- based on DigitSequence. -
currency: enables the random generation of the data types in thecurrencymodule. -
gregorian: enables the random generation of the data types in thegregorianmodule, which is dedicated to dates and times.Also enables:
digit-sequence.
Crates.io
https://crates.io/crates/chinese-rand