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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Mini Jinja

Mini Jinja Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

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.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mini Jinja!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Libraries

Registered

1 day ago