Files
moli/moli-cookie-cache/src/lib.rs
T

21 lines
550 B
Rust

//! Cookie cache and import-file formats for Moli.
//!
//! This crate owns disk formats that convert to and from the browser-facing
//! `StoredCookie` model. Cookie policy and mutation behavior stay in
//! `moli-cookie-jar`.
mod atomic_file;
mod cache;
mod input;
mod netscape;
pub use cache::{load_cookie_cache, save_cookie_cache};
pub use input::read_cookie_input_lossy;
pub use netscape::{
CookieFileSaveReport, load_cookie_file, read_cookie_file, read_cookie_file_lossy,
save_cookie_file, write_cookie_file,
};
#[cfg(test)]
mod tests;