mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 04:17:56 +08:00
25 lines
574 B
Rust
25 lines
574 B
Rust
pub mod cli;
|
|
pub mod config;
|
|
#[cfg(feature = "imap")]
|
|
pub mod imap;
|
|
pub mod sasl;
|
|
pub mod tls;
|
|
// pub mod email;
|
|
|
|
// use std::path::PathBuf;
|
|
|
|
// use shellexpand_utils::{canonicalize, expand};
|
|
|
|
// #[doc(inline)]
|
|
// pub use crate::email::{envelope, flag, message};
|
|
|
|
// /// Parse the given [`str`] as [`PathBuf`].
|
|
// ///
|
|
// /// The path is first shell expanded, then canonicalized (if
|
|
// /// applicable).
|
|
// fn dir_parser(path: &str) -> Result<PathBuf, String> {
|
|
// expand::try_path(path)
|
|
// .map(canonicalize::path)
|
|
// .map_err(|err| err.to_string())
|
|
// }
|