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
//! # Fuel Relayer

#![deny(unused_crate_dependencies)]
#![forbid(unsafe_code)]
#![deny(missing_docs)]

pub(crate) mod abi;
pub(crate) mod config;
pub(crate) mod log;

mod service;

#[cfg(any(test, feature = "test-helpers"))]
pub mod mock_db;
pub mod ports;
#[cfg(any(test, feature = "test-helpers"))]
pub mod test_helpers;

#[cfg(any(test, feature = "test-helpers"))]
pub use abi::*;
#[cfg(any(test, feature = "test-helpers"))]
pub use service::new_service_test;

pub use config::Config;
pub use ethers_core::types::{
    H160,
    H256,
};
pub use service::{
    new_service,
    Service,
    SharedState,
};

#[cfg(test)]
fuel_core_trace::enable_tracing!();