10 releases

0.1.9 Dec 25, 2022
0.1.8 Dec 22, 2022

#589 in Build Utils

Download history 2852/week @ 2025-12-01 2046/week @ 2025-12-08 2902/week @ 2025-12-15 1534/week @ 2025-12-22 1401/week @ 2025-12-29 3777/week @ 2026-01-05 3278/week @ 2026-01-12 3429/week @ 2026-01-19 3897/week @ 2026-01-26 4347/week @ 2026-02-02 4119/week @ 2026-02-09 3405/week @ 2026-02-16 4411/week @ 2026-02-23 5674/week @ 2026-03-02 3112/week @ 2026-03-09 3116/week @ 2026-03-16

16,431 downloads per month
Used in 19 crates (12 directly)

MIT license

25KB
546 lines

Package codes-common

Support capabilities for codes-* packages.

For notes on the design of the API, see the repository README.

crates.io docs.rs

Features

  • build - Tools for build scripts.
  • csv_tools - Tools for reading and processing CSV files, requires build.

Changes

Version 0.1.9

  • Moved build related tools to build module, gated with feature

Version 0.1.8

  • Moved check digits to own crate.
  • Added FixedLengthCode and VariableLengthCode traits.

Version 0.1.7

  • Added the check_digits module with an implementation of LuhnAlgorithm.

Version 0.1.6

  • Fixed a bug in the insert field macros

Version 0.1.5

  • Updated CSV handlers
  • Added CSV macros

Version 0.1.4

  • Added csv_tools feature

Version 0.1.3

  • Re-worked code_impl macro for non-string codes.

Version 0.1.2

  • Added retain method to SimpleData.

Version 0.1.1

  • Refactored the build process, added SimpleData type and Data trait.

Version 0.1.0

  • Initial release, subject to much change.

Dependencies

~0–5MB
~70K SLoC