c19e900bec
This removes the dependency cycle between config and rendering that causes 4 packages to be recompiled every time a change is made. I just want to code fast!
28 lines
507 B
Rust
28 lines
507 B
Rust
#[macro_use]
|
|
extern crate lazy_static;
|
|
extern crate regex;
|
|
extern crate tera;
|
|
extern crate syntect;
|
|
extern crate pulldown_cmark;
|
|
extern crate slug;
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
extern crate serde;
|
|
|
|
extern crate errors;
|
|
extern crate front_matter;
|
|
extern crate highlighting;
|
|
extern crate utils;
|
|
|
|
#[cfg(test)]
|
|
extern crate templates;
|
|
|
|
mod context;
|
|
mod markdown;
|
|
mod short_code;
|
|
mod table_of_contents;
|
|
|
|
pub use context::Context;
|
|
pub use markdown::markdown_to_html;
|
|
pub use table_of_contents::Header;
|