rhiza-node 0.3.0

Network node runtime for rhiza
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use rhiza_core::ExecutionProfile;
use rhiza_node::execution_profile_compiled;

#[test]
fn compiled_profiles_match_enabled_engine_features() {
    assert_eq!(
        execution_profile_compiled(ExecutionProfile::Sqlite),
        cfg!(feature = "sql")
    );
    assert_eq!(
        execution_profile_compiled(ExecutionProfile::Graph),
        cfg!(feature = "graph")
    );
    assert_eq!(
        execution_profile_compiled(ExecutionProfile::Kv),
        cfg!(feature = "kv")
    );
}