Crates.io | common_consts |
lib.rs | common_consts |
version | 0.1.0 |
source | src |
created_at | 2023-09-16 19:31:14.174344 |
updated_at | 2023-09-16 19:31:14.174344 |
description | Constants used in daily life. |
homepage | |
repository | https://github.com/nossie531/common_consts |
max_upload_size | |
id | 974588 |
size | 16,908 |
Constants used in daily life.
The author of this crate is not good at English.
Forgive me if the document is hard to read.
Words that express quantities in daily conversations are often used in source code as well. Since it is tedious to define constants for those magic numbers in each project, we collect them here.
Quantity values (In qv
module).
ZERO
FEW
SOME
SEVERAL
HANDFUL
MANY
Frequency values (In fv
module).
NEVER
ALMOST_NEVER
RARELY
OCCASIONALLY
SOMETIMES
OFTEN
ALMOST
ALWAYS
Specific values for each constants may change in future versions.