Crates.io | config-proc |
lib.rs | config-proc |
version | 0.1.0 |
source | src |
created_at | 2022-10-21 05:35:09.832349 |
updated_at | 2022-10-21 05:35:09.832349 |
description | Proc-macros for config file handling |
homepage | |
repository | https://sr.ht/~curious/config-proc |
max_upload_size | |
id | 693198 |
size | 46,447 |
A convenience crate for handling configuration files through procedural macros.
This crate generates save/load functions for the types which are annotated with the proc-macros. Defaults to the XDG Base Directory Specification.
The crate is currently in a very early phase and is only published to enable dogfooding. Use at your own risk!
Documentation, tests and functionality is currently still a work-in-progress. Not everything works as expected and documentation may be either out-of-date or just flat-out wrong. Everything may change!
Currently, this crate will not behave properly on any non-UNIX system. So, do NOT use the defaults on a Windows system as the assumptions on directory structuring done internally will be completely wrong.
Whether or not this crate will have Windows support in the future is not determined as of this writing.
Licensed under 0BSD. See LICENSE file.