一个基于宏的 html 构建器,用于 Rust
A macro-based HTML and XML templating library, compatible with stable rust (currently requires rust >= 1.48).
This crate will degrade gracefully when compiled without std (disable the "std"
feature) and even without alloc (disable the "alloc" feature).
When compiled with alloc but without std:
Template::write_to_io() is not defined.ToString and all such errors are
immediately converted to strings.When compiled with just core:
RenderBox is no longer defined (no allocation).Template::into_string() and Template::write_to_string() are no longer
defined. The only template rendering method available is
Template::write_to_fmt().&str errors, and only the first is recorded.…暂无开放 Issues,或尚未同步最近议题。