MiniJinja is a minimal-dependency template engine based on the syntax and behavior of Python’s Jinja2. It is implemented primarily for Rust and also has Go, JavaScript, Python, C, and CLI-related components. The project supports Jinja-style templates, inheritance, filters, expressions, dynamic objects, and serde-compatible data. It is designed to stay close to Jinja2 while keeping compile times, dependencies, and API surface manageable for Rust programs. MiniJinja can also be used as a small expression language or embedded template layer in larger applications. It is useful for configuration generation, HTML rendering, LLM chat templating, data workflows, and command-line templating.
Features
- Rust Jinja-style template engine
- Minimal dependency design
- Serde-compatible data support
- Template inheritance and filters
- CLI and WASM support
- Bindings for JavaScript, Python, Go, and C
Categories
LibrariesLicense
Apache License V2.0Follow Mini Jinja
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Mini Jinja!