mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 21:41:35 +00:00
11 lines
166 B
Rust
11 lines
166 B
Rust
#![cfg(feature = "serde_json")]
|
|
|
|
use rinja::Template;
|
|
|
|
#[derive(Template)]
|
|
#[template(ext = "txt", source = "{{ 1|json(2, 3) }}")]
|
|
struct OneTwoThree;
|
|
|
|
fn main() {
|
|
}
|