Module high

Source
Expand description

high refers to high RAM usage - using this module you will be effectively storing the entire blog in memory at all times using a lazy static. Highest runtime performance but higest RAM usage

lazy_static! {
    pub static ref STATIC_BLOG_ENTRIES: HighBlog =
        get_high_blog(PathBuf::from(BLOG_ROOT), None, None, URL, &SitemapOptions::default());
}

Structs§

HighBlog
The main HighBlog which stores all relevant information for the blog
HighBlogEntry
An individual blog post

Functions§

get_high_blog
Gets the whole HighBlog from the specified path. Useful to combine with lazy static for loading times