Crate ean_rs

Source
Expand description

§ean-rs

ean_rs is a crate for handling European Article Numbers (EAN). This crate provides functionality to validate and to render EAN codes.

Structs§

AdvancedPngConfig
Examples
SimplePngConfig
Dimensions configuration for png file

Enums§

PngConfig

Functions§

is_correct_ean
Check if the given string is a correct EAN-8 or EAN-13
save_as_png
Save an ean as a png file
save_as_svg
Save an ean as a svg file
show_on_terminal
Show an ean on the terminal