Crate features / handlebars
Feature flags · handlebars 6.4.4 · from crates.io 2026-10-24
handlebars features: what each one does, and the line to copy
Short answerhandlebars 6.4.4 has 6 features. Nothing is on by default: turn on what you use. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
dir_source | walkdir | |
no_logging | nothing else (a switch the code checks) | |
preserve_json_order | serde_json/preserve_order | |
script_helper | rhai | |
string_helpers | heck | |
testing | preserve_json_order |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version handlebars declares (rust-version), and the release that changed it:
- 4.3.0 (2022-05-18): Rust 1.57
- 5.0.0-beta.2 (2023-05-20): Rust 1.61
- 4.4.0 (2023-09-01): Rust 1.57
- 5.0.0-beta.3 (2023-09-01): Rust 1.61
- 5.0.0-beta.5 (2023-09-23): Rust 1.66
- 4.5.0 (2023-11-09): Rust 1.57
- 5.0.0 (2023-12-31): Rust 1.66
- 5.1.2 (2024-03-24): Rust 1.72
- 6.3.0 (2025-01-05): Rust 1.73
- 6.4.0 (2026-01-02): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p handlebars --precise <version>, or use resolver 3, which picks compatible versions for you.
More on handlebars
Real downloads, dependents and alternatives: handlebars crate data (181.8K real downloads a day, 829 dependents).
docs.rs feature list · crates.io · license MIT · edition 2024
Up next
Before you depend on ithandlebars crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?