Crate neodes_codec

Crate neodes_codec 

Source
Expand description

§NeoDes Codec

Rust Library to read DSN files from French administration Net-Entreprises.
This project’s purpose is to facilitate the reading of such files and checking its format.
It doesn’t check rules linked to the NeoDes norm, though, just the format.

§License

This project is released under an AGPL license.
AGPL is a free copyleft license, more details at https://www.gnu.org/licenses/agpl-3.0.html

§Purpose

NeoDes files are latin1 (ISO-8859-1) encoded text files which lines respect the following rules

  • The format must be : S01.G23.45.678,'value'
  • Lines must end with \r\n or just \n
  • Lines must be 256 characters or fewer including line returns (\r) and line endings (\n)
  • Value can only contain valid characters
  • Value must contain at least one “validating” character

More information on what a forbidden or validating character is can be found here in the documentation : https://www.net-entreprises.fr/declaration/norme-et-documentation-dsn/

Modules§

codec
Functions to read and write DSN files and streams in their standard format.
line
Common structures that represent elements contained in a NeoDes line.