commonware-p2p 0.0.41

Communicate with authenticated peers over encrypted connections.
Documentation
1
2
3
4
5
6
7
8
use std::io::Result;
fn main() -> Result<()> {
    // Proto compilation rules for `authenticated` dialect
    let mut config = prost_build::Config::new();
    config.bytes(["Data.message"]);
    config.compile_protos(&["src/authenticated/wire.proto"], &["src/authenticated/"])?;
    Ok(())
}