Skip to main content

cronoq_proto/
lib.rs

1//! Generated protobuf and gRPC types for the cronoq server API (`cronoq.v1`).
2//!
3//! The service definitions live in `proto/cronoq/v1/cronoq.proto` (also available as
4//! [`PROTO`]); generate clients for other languages from that file.
5#![warn(missing_docs)]
6
7/// Messages and services of the `cronoq.v1` package.
8#[allow(clippy::all, missing_docs)]
9pub mod v1 {
10    tonic::include_proto!("cronoq.v1");
11}
12
13/// The `.proto` source, for clients in other languages.
14pub const PROTO: &str = include_str!("../proto/cronoq/v1/cronoq.proto");
15
16/// Worker protocol version implemented by this crate (see `Register.protocol_version`).
17pub const PROTOCOL_VERSION: u32 = 3;