rainier-view-1.0.0 has been yanked.
rainier-view
The V in MVC: a [View] value a controller returns, a [ViewEngine]
port, and [BladeEngine] — a Blade-style template engine.
use ;
let engine = new.with;
let view = with.unwrap;
assert_eq!;
Escaped by default
{{ … }} HTML-escapes; {!! … !!} does not. The safe form is the short
one, so the way you write a value without thinking is the way that cannot
inject a <script>. Emitting raw HTML is possible but has to be asked for.
A deliberately small language
{{ }}, {!! !!}, @if/@elseif/@else, @foreach, @include, and
@extends/@section/@yield. There is no arbitrary expression evaluation
and no way to call a function, because a template that can compute is a
template that ends up holding business logic. Prepare the data in the
controller; let the template lay it out.