common_consts 0.2.1

Constants used in daily life.
Documentation
  • Coverage
  • 100%
    18 out of 18 items documented0 out of 0 items with examples
  • Size
  • Source code size: 17.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 922.71 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nossie531/common_consts
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nossie531

common_consts

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.

Values

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

Notes

Specific values for each constants may change in future versions.

Versions

See CHANGELOG.