Skip to main content

Crate lib_conf

Crate lib_conf 

Source
Expand description

§lib-conf

Rust proc-macro crate providing library authors with first-class configuration for their end-users

§Overview

This crate is currently a work in progress.

Until stabilized, usage in production code is strongly discouraged.

crates.io | Docs | GitHub

§Progress

§Roadmap

  • Add default value getters to Config struct
  • Generate .env.example util fn for consumers, using defaults + required
  • Add/confirm offical support for nested usage
    • e.g. lib1 -> lib2 -> bin, where both libs use lib-conf and both are exposed to binary
    • Support lib2 exposing a subset of lib1 options to bin

Derive Macros§

LibConfigderive