commonware-p2p 0.0.7

Communicate with authenticated peers over encrypted connections.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io::Result;
fn main() -> Result<()> {
    let mut config = prost_build::Config::new();
    config.bytes([
        "Signature.public_key",
        "Signature.signature",
        "Handshake.recipient_public_key",
        "Handshake.ephemeral_public_key",
        "Chunk.content",
    ]);
    config.compile_protos(&["src/wire.proto"], &["src/"])?;
    Ok(())
}