carrier-core
The shared foundation of the telco-interop carrier interfaces. You don't depend on it directly.
Use wbci, spri or
telco-interop; they re-export what you need as
their own API. This crate holds what WBCI and S/PRI share, so a fix in one is a fix in both:
| Module | What |
|---|---|
text |
schema facets (TextSpec, Charset, whitespace), the text_type! and code_enum! macros; ValueError, which never contains the rejected value |
id |
CarrierCode, VorabstimmungsId, LineId |
calendar |
German working days: nationwide public holidays (Easter computed), Mon–Fri or Mon–Sat, closing days |
count |
working-day and working-hour arithmetic with an Explanation a person can check by hand |
envelope |
Zeitstempel, SignaturId, SignaturText |
xml |
a bounded tree parser that refuses DTDs and resolves only the five predefined entities, a cursor that walks elements in schema order, an indenting writer |
No I/O, no clock, no global state. The API serves the sibling crates and is not stable on its own.
Unofficial; not affiliated with or endorsed by the AK S&P, VATM or BUGLAS.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.