1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![deny(missing_doc_code_examples)]
use lazy_static::*;
use secrecy::Secret;
pub use global::{Role, Target, SGSecret};
pub mod global;
pub use secrets::{secrets_engine, passphrase_engine, csprng, branca_engine, Lease, auth_storage};
pub mod secrets;
pub mod sg_statics;
pub use errors::SGError;
pub mod errors;
#[macro_export]
lazy_static! {
pub static ref SG_SECRET_KEYS: Secret<sg_statics::SgTomlSecrets> = {
sg_statics::SGConfig::new().secrets()
};
}