2 releases
Uses new Rust 2024
| 0.1.1 | Mar 29, 2026 |
|---|---|
| 0.1.0 | Mar 28, 2026 |
#440 in Template engine
96 downloads per month
Used in 14 crates
(3 directly)
105KB
3K
SLoC
coil-template
coil-template is Coil’s server-side template parser and renderer.
It powers the HTML-first rendering model used across Coil applications and is responsible for parsing templates, expressions, and related rendering structures.
Install
[dependencies]
coil-template = "0.1.0"
When to use this crate directly
- You are composing Coil manually and want direct access to the template engine.
- You are building or extending template parsing and rendering behaviour.
- You are contributing to Coil’s HTML-first application model.
Related crates
coil-runtime: uses the template engine during live request handling.coil-app: coordinates customer application templates and theme structure.coil-seo: SEO output that is injected into rendered pages.
Learn more
- Docs: https://coil.rs/docs/reference/template-language
- Architecture: https://coil.rs/architecture
Dependencies
~1.2–1.6MB
~33K SLoC