Expand description
Generic utilities not tied to any particular platform for use with other BP3D software.
Modules§
- env
env
- This module contains tools to simplify parsing environment variables.
- extension
extension
- Helper macro for writing extensions to any foreign type using sealed traits.
- format
format
- Formatting utilities.
- index_
map index-map
- A map with the key stored as part of the value.
- path
path
- Path based utilities.
- result
result
- Result utilities.
- simple_
error simple-error
- Error umbrella type generation macro.
- string
string
- String utilities.
- tzif
tzif
- A simple TZIF reader module used to get UTC to local offset.
Macros§
- extension
extension
- Generate a sealed trait with a given name and content.
- hack_
rust_ buggy_ macros simple-error
- This macro is internal and called by another macro.
- simple_
error simple-error
- Generates a simple enum which maps multiple error types and implements Error and Display automatically. This optionally can generate From implementations on demand.
- try_opt
result
- Generates a match block which returns errors to circumvent rust borrow checker defects.
- try_res
result
- Generates a match block which returns errors to circumvent rust borrow checker defects.
- typed_
ident simple-error
- This macro is internal and called by another macro.