oxblade 0.1.0

Blade templates for Laravel for Rust: Blade's markup and directives, Laravel's helpers, Rust's expressions. Community package, not affiliated with Laravel.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Laravel Blade's HTML, JSON and JavaScript encoders.
//!
//! The JavaScript wrapper follows Laravel's MIT-licensed `Illuminate\Support\Js`.

mod html;
mod json;

pub use html::{e, e_with_double_encode, escape_html_bytes};
pub(crate) use html::{escape_attribute_parts, escape_parts};
pub use json::{ArrayKey, EncodeError, Entries, JsonFlags, JsonKind, JsonValue, js, json};

pub(crate) use json::{EncodingLimits, encode_js, encode_json};