1pub mod crypto;
2pub(crate) mod git;
3pub mod store;
4pub mod sync;
5#[cfg(all(feature = "tomb", target_os = "linux"))]
6pub mod systemd_bin;
7#[cfg(all(feature = "tomb", target_os = "linux"))]
8pub mod tomb;
9#[cfg(all(feature = "tomb", target_os = "linux"))]
10pub(crate) mod tomb_bin;
11pub mod types;
12pub mod util;
13
14#[cfg(test)]
15extern crate quickcheck;
16#[cfg(test)]
17#[macro_use(quickcheck)]
18extern crate quickcheck_macros;
19#[macro_use]
20extern crate lazy_static;
21
22pub use crypto::{Key, recipients::Recipients};
24pub use store::{Secret, Store};
25pub use types::{Ciphertext, Plaintext};
26
27use crate::crypto::{Config, Proto};
28
29#[cfg(not(windows))]
31pub const STORE_DEFAULT_ROOT: &str = "~/.password-store";
32#[cfg(windows)]
33pub const STORE_DEFAULT_ROOT: &str = "~\\.password-store";
34
35const CONFIG: Config = Config {
38 proto: Proto::Gpg,
39 gpg_tty: false,
40 verbose: false,
41};