summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 89eea1cd5b8c75f35364c813da4d1aa207903df3 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/// Data
pub mod data;

// Feature `lib`
#[cfg(feature = "lib")]
pub mod system {
    pub mod asset_system {
        pub use asset_system::*;
    }

    pub mod sheet_system {
        pub use sheet_system::*;
    }

    pub mod config_system {
        pub use config_system::*;
    }

    pub mod constants {
        pub use constants::*;
    }

    pub mod space {
        pub use framework::space::*;
        pub use framework::space_macro::*;
    }

    pub mod workspace {
        pub use workspace_system::*;
    }

    pub mod vault {
        pub use vault_system::*;
    }
}

pub mod utils {
    // Feature `data_struct`
    #[cfg(feature = "data_struct")]
    pub mod data_struct {
        extern crate data_struct;
        pub use data_struct::*;
    }

    // Feature `hex_display`
    #[cfg(feature = "hex_display")]
    pub mod hex_display {
        extern crate hex_display;
        pub use hex_display::*;
    }

    // Feature `sha1_hash`
    #[cfg(feature = "sha1_hash")]
    pub mod sha1_hash {
        extern crate sha1_hash;
        pub use sha1_hash::*;
    }

    // Feature `tcp_connection`
    #[cfg(feature = "tcp_connection")]
    pub mod tcp_connection {
        extern crate tcp_connection;
        pub use tcp_connection::*;
    }
}