Skip to main content

signstar_config/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod admin_credentials;
4pub mod config;
5pub mod error;
6#[cfg(feature = "nethsm")]
7pub mod nethsm;
8pub mod state;
9#[cfg(feature = "_test-helpers")]
10pub mod test;
11pub mod utils;
12#[cfg(feature = "yubihsm2")]
13pub mod yubihsm2;
14
15pub use admin_credentials::AdminCredentials;
16pub use config::{
17    credentials::{AuthorizedKeyEntry, SystemUserId},
18    error::Error as ConfigError,
19};
20pub use error::{Error, ErrorExitCode};
21#[cfg(feature = "nethsm")]
22pub use nethsm::{
23    FilterUserKeys,
24    NetHsmMetricsUsers,
25    admin_credentials::NetHsmAdminCredentials,
26    backend::NetHsmBackend,
27    error::Error as NetHsmBackendError,
28};