Registry / utility / liquid

liquid

JSON →
library0.26.11rscratesunverified

The liquid templating language for Rust.

# Cargo.toml [dependencies] liquid = "0.26.11"
INSTALL
IMPORT
SIG · LIQUID
L
liquid
utilityrustv0.26.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
use liquid::Parser;

Renders a simple Liquid template.

use liquid::Parser; fn main() { let template = Parser::new().parse("Hello {{ name }}!").unwrap(); let output = template.render(&liquid::object!({ "name": "World" })).unwrap(); println!("{}", output); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.26.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
liquid — cargo add liquid · libregistry