Skip to main content

kernable_core/
lib.rs

1//! Core types shared by the kernel and its tools.
2
3#![cfg_attr(not(test), deny(clippy::unwrap_used))]
4
5/// Generated protocol types and gRPC stubs (`proto/kernable/v1`).
6#[allow(clippy::all)]
7pub mod proto {
8    tonic::include_proto!("kernable.v1");
9}
10
11#[cfg(feature = "certs")]
12pub mod certs;
13
14pub mod signing;
15
16pub mod transport;
17
18/// The protocol version this build speaks; see "Protocol versions" in `kernable.proto`.
19pub const PROTOCOL: u32 = 1;