thenodes 0.2.0

TheNodes is a modular, plugin-driven P2P node framework for Rust, supporting node-embedded plugins (NEP) and core-as-a-library (CAL) modes with async-first APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod encryption;
pub mod secure_channel;
pub mod trust;

pub struct Security {
    pub enabled: bool,
}

impl Security {
    pub fn new(enabled: bool) -> Self {
        Self { enabled }
    }
}