Skip to main content

Crate reinhardt_conf

Crate reinhardt_conf 

Source
Expand description

§Reinhardt Configuration Framework

Django-inspired settings management for Rust with secrets, encryption, and audit logging.

This crate provides a comprehensive configuration management framework for Reinhardt applications, inspired by Django’s settings system with additional security features.

§Features

  • Multiple configuration sources: Files, environment variables, command-line arguments
  • Type-safe settings: Strong type validation with custom validators
  • Secrets management: Integration with HashiCorp Vault, AWS Secrets Manager, Azure Key Vault
  • Encryption: Built-in encryption for sensitive settings
  • Dynamic backends: Redis and database-backed dynamic settings
  • Secret rotation: Automatic secret rotation support
  • Audit logging: Track all setting changes

§Quick Start

§Module Organization

  • settings: Core settings management functionality

Re-exports§

pub use settings::DatabaseConfig;
pub use settings::MiddlewareConfig;
pub use settings::Settings;
pub use settings::TemplateConfig;

Modules§

settings
Settings Module

Macros§

assert_env
Assert that an environment variable has a specific value
assert_env_exists
Assert that an environment variable exists
assert_env_not_exists
Assert that an environment variable does not exist