uckb_scanner/lib.rs
1// Copyright (C) 2019-2020 Boyu Yang
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9use std::sync::Arc;
10
11use tokio::runtime::Runtime as RawRuntime;
12
13pub use tokio_postgres as postgres;
14
15pub mod error;
16
17mod storage;
18mod utilities;
19
20pub use storage::{traits, Storage};
21
22pub(crate) type Runtime = Arc<RawRuntime>;