use crate::prelude::*; mod add; mod find; pub use add::add; pub use find::find; type Link = atom_syndication::Link; pub struct HistoryEnv { pub find: HistoryFind, pub add: HistoryAdd, } pub type HistoryFind = fn(&Link, &str) -> Result; pub type HistoryAdd = fn(&Link, &str) -> Result<()>;