Registry / other / liquid-core

liquid-core

JSON →
library0.26.11rscratesunverified

Core functionality for the Liquid template engine, providing parsing and rendering.

# Cargo.toml [dependencies] liquid-core = "0.26.11"
INSTALL
IMPORT
SIG · LIQUID-CORE
L
liquid-core
otherrustv0.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_core::Parser;

Minimal example parsing and rendering a Liquid template.

use liquid_core::Parser; use liquid_core::Object; fn main() { let parser = Parser::new(); let template = parser.parse("Hello {{ name }}!").unwrap(); let mut globals = Object::new(); globals.insert("name".into(), "World".into()); let output = template.render(&globals).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
2 hits · last 30 days
node
2
Resources
liquid-core — cargo add liquid-core · libregistry