zola/components/library/src/lib.rs

40 lines
798 B
Rust
Raw Normal View History

2018-10-02 14:42:34 +00:00
extern crate serde;
2018-10-31 07:18:57 +00:00
extern crate slug;
extern crate tera;
2018-10-02 14:42:34 +00:00
#[macro_use]
extern crate serde_derive;
extern crate chrono;
extern crate rayon;
2018-10-31 07:18:57 +00:00
extern crate slotmap;
2018-10-25 14:22:00 +00:00
#[macro_use]
extern crate lazy_static;
extern crate regex;
2018-10-02 14:42:34 +00:00
2018-10-31 07:18:57 +00:00
#[cfg(test)]
extern crate globset;
2018-10-02 14:42:34 +00:00
#[cfg(test)]
extern crate tempfile;
#[cfg(test)]
extern crate toml;
extern crate config;
2018-10-31 07:18:57 +00:00
extern crate front_matter;
2018-10-02 14:42:34 +00:00
extern crate rendering;
2018-10-31 07:18:57 +00:00
extern crate utils;
2018-10-02 14:42:34 +00:00
#[macro_use]
extern crate errors;
mod content;
2018-10-31 07:18:57 +00:00
mod library;
2018-10-02 14:42:34 +00:00
mod pagination;
mod sorting;
2018-10-31 07:18:57 +00:00
mod taxonomies;
2018-10-02 14:42:34 +00:00
2018-10-31 07:18:57 +00:00
pub use slotmap::{DenseSlotMap, Key};
2018-10-02 14:42:34 +00:00
2018-10-31 07:18:57 +00:00
pub use content::{Page, Section, SerializingPage, SerializingSection};
2018-10-02 14:42:34 +00:00
pub use library::Library;
pub use pagination::Paginator;
2018-10-31 07:18:57 +00:00
pub use sorting::sort_actual_pages_by_date;
pub use taxonomies::{find_taxonomies, Taxonomy, TaxonomyItem};