Skip to content

apimeister/edifact-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edifact-types

Latest Version

This library provides bindings for the Edifact standard.

Usage

The types should be used inconjuction with a Edifact serializer.

We do recommend the serde_edifact crate, since we are using this serializer for testing.

So far, there is also no validation attached to the structs.

features

  • logging: enables log library

caveats

  • repetition limitations are not implemented yet, we only differ
    • Mandatory (1), Optional (0/1), Vector (0-infinity)
  • Not all lists are implemented for the types, validation is incomplete
  • UNA, for changing control chars is ignored
  • Grouped Messages with UNG/UNE are not implemented yet

Supported Bindings

  • d95b
    • coprar
  • d00b
    • coparn
    • iftmin
    • iftsta

Something missing? Please open an issue.

Contributions

Since the Edifact is fairly huge, we only implement types on demand. So if you are missing some types, please open an issue or merge request.

new type

This is only usable by copiing the content from UNECE, it will not work with anything else!

  1. go to src/util/mod.rs and find fs::write, comment in all the lines
  2. find your type on the UNECE Website
  3. ctrl+a on the website and paste into edi_desc/<version>/<your-type>
  4. run cargo nextest run desc
  5. see new file under src/<version>/message/

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages