keyforkd: export types
This commit is contained in:
parent
a946d039a6
commit
0ef93fced5
|
@ -1,7 +1,7 @@
|
|||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug, Clone, Error)]
|
||||
pub(crate) enum KeyforkdError {
|
||||
pub enum KeyforkdError {
|
||||
#[error("Neither KEYFORKD_SOCKET_PATH nor XDG_RUNTIME_DIR were set, nowhere to mount socket")]
|
||||
NoSocketPath,
|
||||
}
|
||||
|
|
|
@ -4,18 +4,18 @@ use std::{
|
|||
};
|
||||
|
||||
pub use keyfork_mnemonic_util::Mnemonic;
|
||||
use tower::ServiceBuilder;
|
||||
pub use tower::ServiceBuilder;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
use tracing::debug;
|
||||
|
||||
mod error;
|
||||
mod middleware;
|
||||
mod server;
|
||||
mod service;
|
||||
use error::KeyforkdError;
|
||||
use server::UnixServer;
|
||||
use service::Keyforkd;
|
||||
pub mod error;
|
||||
pub mod middleware;
|
||||
pub mod server;
|
||||
pub mod service;
|
||||
pub use error::KeyforkdError;
|
||||
pub use server::UnixServer;
|
||||
pub use service::Keyforkd;
|
||||
|
||||
pub async fn start_and_run_server_on(
|
||||
mnemonic: Mnemonic,
|
||||
|
|
Loading…
Reference in New Issue