Skip to main content

root

Macro root 

Source
macro_rules! root {
    ($($args:tt)*) => { ... };
}
Expand description

Include the path as root. To be passed into StaticCompiledHandler::new.

Most callers want static_compiled! instead, which wraps this in the handler constructor.

Accepts the same arguments as static_compiled! — see its documentation for the path-argument grammar, optional etag and compress arguments, relative-path resolution, and environment variable expansion.