abscissa 0.9.0

Application microframework with support for command-line option parsing, configuration, error handling, logging, and terminal interactions. This crate contains a CLI utility for generating new applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Helper for creating a Handlebars registry
//!
//! This is a workaround for `handlebars::registry::Registry` not being
//! exported as part of the public API.
//!
//! So, instead, we use a macro.

#[macro_export]
macro_rules! handlebars_registry {
    () => {{
        let mut hbs = handlebars::Handlebars::new();
        hbs.set_strict_mode(true);
        hbs.register_escape_fn(handlebars::no_escape);
        hbs
    }};
}