1mod account_switcher;
4mod builder;
5mod convert;
6mod error;
7mod local_account;
8mod sync;
9mod traits;
10mod types;
11
12pub use account_switcher::{
13 AccountSwitcher, AccountSwitcherOptions, LocalAccountSwitcher,
14};
15pub use builder::{AccountBuilder, PrivateNewAccount};
16pub use convert::CipherComparison;
17pub use error::Error;
18pub use local_account::LocalAccount;
19pub use traits::Account;
20pub use types::{
21 AccountChange, AccountData, DetachedView, FolderChange, FolderCreate,
22 FolderDelete, SecretChange, SecretDelete, SecretInsert, SecretMove,
23};
24
25#[cfg(feature = "contacts")]
26pub use types::ContactImportProgress;
27
28#[cfg(feature = "clipboard")]
29pub use {
30 types::{ClipboardCopyRequest, ClipboardTextFormat},
31 xclipboard,
32};
33
34pub(crate) type Result<T> = std::result::Result<T, Error>;