mirror of
https://github.com/lexmount/moli.git
synced 2026-11-24 08:02:58 +00:00
21 lines
550 B
Rust
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;
|