#anvil #fail #generator #strong-typing #ethos

anvil

Anvil is a modular templating system for creating user-defined scaffolding systems

6 releases

0.3.1 Apr 4, 2025
0.3.0 Apr 2, 2025
0.2.2 Jan 26, 2025
0.1.1 Oct 29, 2024

#119 in Template engine

Download history 2/week @ 2025-01-12 214/week @ 2025-01-26 38/week @ 2025-02-02 10/week @ 2025-02-09 23/week @ 2025-02-16 37/week @ 2025-02-23 42/week @ 2025-03-02 9/week @ 2025-03-09 12/week @ 2025-03-16 13/week @ 2025-03-23 449/week @ 2025-03-30 862/week @ 2025-04-06 114/week @ 2025-04-13 99/week @ 2025-04-20 357/week @ 2025-04-27

1,474 downloads per month
Used in 5 crates

MIT license

56KB
545 lines

Anvil

Anvil is a modular templating system for creating user-defined scaffolding systems.

Ethos

  • Configuration in code.
  • Interchangeable components.
  • The library provides the building blocks, not the solutions.

Inspiration:

Goals

  1. Modularity: Provide a structure where modules can be created, extended, and reused without tight coupling.
  2. Extensibility: Allow users to define their custom behaviors and integrate new modules with minimal effort.
  3. Configurability: Ensure that the system can be configured programmatically, providing users with complete control over their generated code structure and dependencies.
  4. Scalability: Support projects of varying sizes and complexities without sacrificing performance or usability.
  5. Minimal Coupling: Avoid creating a central module that ties everything together, ensuring that modules remain independent.

Dependencies

~235–680KB
~16K SLoC