macro_keeper

Crates.iomacro_keeper
lib.rsmacro_keeper
version0.0.1
created_at2025-07-10 17:46:41.00676+00
updated_at2025-07-10 17:46:41.00676+00
descriptionA lightweight macro toolkit for generating statically typed configs and utilities
homepage
repositoryhttps://github.com/envkeeper/macro_keeper
max_upload_size
id1746850
size26,342
Daniel Laloush (Dandush03)

documentation

README

macro_keeper

A lightweight macro toolkit for generating statically typed configs and utilities.

Warning: This crate is still in early development and only includes one macro at the moment. More are coming soon!

Features

  • config_generator! – A macro to define static, thread-safe config structs with global access.

Example

config_generator!(
    AppConfig,
    CONFIG,
    [
        (log_level, LogLevel, LogLevel::Info),
        (environment, String, "production".to_string())
    ]
);
Commit count: 0

cargo fmt