libcfd 0.1.0

A port of cloudflared (Cloudflare Tunnel Client) to Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use capnpc::CompilerCommand as CapnpcCompilerCommand;

fn main() {
    CapnpcCompilerCommand::new()
        .import_path("src/generated")
        .output_path("src/generated")
        .src_prefix("src/generated")
        .default_parent_module(Vec::from_iter([String::from("generated")]))
        .file("src/generated/quic_metadata_protocol.capnp")
        .file("src/generated/tunnelrpc.capnp")
        .run()
        .unwrap();
}