Schematic

Schematic is a library that provides:

  • A layered serde-driven configuration system with support for merge strategies, validation rules, environment variables, and more!
  • A schema modeling system that can be used to generate TypeScript types, JSON schemas, and more!

Both of these features can be used independently or together.

cargo add schematic

Example references

The following projects are using Schematic and can be used as a reference:

  • moon - A build system for web based monorepos.
  • proto - A multi-language version manager with WASM plugin support.
  • ryot - Track various aspects of your life.