wrath

Crates.iowrath
lib.rswrath
version0.1.0
sourcesrc
created_at2023-11-18 08:27:58.14638
updated_at2023-11-18 08:27:58.14638
descriptionA structured approach to accessing environment variables
homepage
repositoryhttps://or.computer.surgery/charles/wrath
max_upload_size
id1040366
size57,576
Charles Hall (CobaltCause)

documentation

README

wrath

A structured approach to accessing environment variables


This crate provides a derive macro for generating code to parse environment variables into structured data without depending on any specific parsing methodology. Instead, it provides an extensible mechanism for deciding how each environment variable value should be parsed directly from the underlying OsString. This allows greater control over how parsing is done (unlike e.g. relying entirely on the serde crate) and doesn't introduce unnecessary constraints on the input data (unlike e.g. relying entirely on the FromStr trait).

Commit count: 0

cargo fmt