fuel_core_relayer/
lib.rs

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
37
38
39
40
//! # Fuel Relayer

#![deny(clippy::arithmetic_side_effects)]
#![deny(clippy::cast_possible_truncation)]
#![deny(unused_crate_dependencies)]
#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![deny(warnings)]

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;
pub mod storage;
#[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!();