This library provides bindings for the Edifact standard.
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.
- logging: enables log library
- 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
- d95b
- coprar
- d00b
- coparn
- iftmin
- iftsta
Something missing? Please open an issue.
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.
This is only usable by copiing the content from UNECE, it will not work with anything else!
- go to
src/util/mod.rs
and findfs::write
, comment in all the lines - find your type on the UNECE Website
- ctrl+a on the website and paste into
edi_desc/<version>/<your-type>
- run
cargo nextest run desc
- see new file under
src/<version>/message/