mstch
« Back to VersTracker
Description:
Complete implementation of {{mustache}} templates using modern C++
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ templates mustache header-only templating
Install: brew install mstch
About:
Mstch is a comprehensive C++ implementation of the Mustache templating language. It provides a header-only library that requires no external dependencies, making it easy to integrate into any modern C++ project. The library fully supports the Mustache specification, enabling logic-less templates for generating HTML, configuration files, and other text formats.
Key Features:
  • Header-only library with zero external dependencies
  • Complete Mustache 1.1.3 specification compliance
  • Modern C++11 support with clean, STL-friendly API
  • No external dependencies or build system requirements
Use Cases:
  • Generating HTML pages in C++ web applications
  • Creating configuration files from templates
  • Email templating in C++ backend services
  • Code generation from data structures
Alternatives:
  • inja – Similar header-only approach but uses nlohmann/json and supports more features
  • ctemplate – Google's template library, more mature but heavier and C-style API
  • mustache.js – JavaScript implementation, requires Node.js runtime instead of C++
Version History
Detected Version Rev Change Commit
Sep 16, 2025 4:33am 1 VERSION_BUMP 81179ccc
Nov 3, 2024 2:07pm 1 VERSION_BUMP e7482be9
Sep 14, 2024 7:59am 1 VERSION_BUMP ad959e82