fuel_streams_core/
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
#![doc = include_str!("../README.md")]

pub mod blocks;
pub mod inputs;
pub mod logs;
pub mod outputs;
pub mod receipts;
pub mod transactions;
pub mod utxos;

pub mod nats;
pub mod stream;
pub mod types;

pub use stream::*;

pub mod subjects {
    pub use fuel_streams_macros::subject::*;

    pub use crate::{
        blocks::subjects::*,
        inputs::subjects::*,
        logs::subjects::*,
        outputs::subjects::*,
        receipts::subjects::*,
        transactions::subjects::*,
        utxos::subjects::*,
    };
}

pub mod prelude {
    pub use fuel_streams_macros::subject::*;

    pub use crate::{nats::*, stream::*, subjects::*, types::*};

    #[cfg(feature = "test-helpers")]
    pub static NATS_URL: &str = "localhost:4222";
}