10 releases

0.1.9 Dec 25, 2022
0.1.8 Dec 22, 2022

#349 in Build Utils

Download history 797/week @ 2024-11-16 662/week @ 2024-11-23 909/week @ 2024-11-30 1069/week @ 2024-12-07 1276/week @ 2024-12-14 362/week @ 2024-12-21 601/week @ 2024-12-28 1037/week @ 2025-01-04 1100/week @ 2025-01-11 1112/week @ 2025-01-18 1182/week @ 2025-01-25 1410/week @ 2025-02-01 1194/week @ 2025-02-08 1000/week @ 2025-02-15 790/week @ 2025-02-22 755/week @ 2025-03-01

4,041 downloads per month
Used in 16 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–8MB
~61K SLoC