stored/lib.rs
1// Storage daemon (stored): microservice frontend for different storage backends
2// used in LNP/BP nodes.
3//
4// Written in 2022 by
5// Dr. Maxim Orlovsky <orlovsky@lnp-bp.org>
6//
7// Copyright (C) 2022 by LNP/BP Standards Association, Switzerland.
8//
9// You should have received a copy of the MIT License along with this software.
10// If not, see <https://opensource.org/licenses/MIT>.
11
12#[macro_use]
13extern crate amplify;
14#[macro_use]
15extern crate log;
16
17mod config;
18mod error;
19pub mod service;
20#[cfg(feature = "server")]
21pub mod opts;
22
23pub use config::Config;
24pub use error::{DaemonError, LaunchError};
25
26pub(crate) const STORED_STORAGE_FILE: &str = "sled.db";