oxedyne/fe2o3/fe2o3_stds/src/lib.rs
972 bytes, 6 runs
created by r1870400018:912, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | //! A standards library providing commonly used enumerations and constants. |
| 2 | //! |
| 3 | //! This crate serves as a central repository for standardised data structures used throughout the |
| 4 | //! Hematite ecosystem. It currently provides: |
| 5 | //! |
| 6 | //! - A comprehensive enumeration of countries through the `regions::Country` enum |
| 7 | //! - Basic celestial body identifiers via `regions::CelestialBodies` |
| 8 | //! - ANSI terminal control sequences through the `chars::Term` struct |
| 9 | //! - File formats, their magic signatures and their media types, through the `media` module |
| 10 | //! - Generic person modelling and generation through the `person` module |
| 11 | //! |
| 12 | //! The crate maintains zero dependencies to ensure it can serve as a reliable foundation for other |
| 13 | //! components. All data structures are designed to be efficient and easy to maintain, focussing on |
| 14 | //! enumerations that provide compile-time guarantees of correctness. |
| 15 | //! |
| 16 | #![forbid(unsafe_code)] |
| 17 | pub mod chars; |
| 18 | pub mod media; |
| 19 | pub mod regions; |