Module blog_tools::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);
}
Structs§
- The main
HighBlog
which stores all relevant information for the blog - An individual blog post
Functions§
- Gets the whole
HighBlog
from the specified path. Useful to combine with lazy static for loading times