tinc_pb_prost/
lib.rs

1//! Protobuf Compiled Definitions for Tinc
2#![cfg_attr(feature = "docs", doc = "## Feature flags")]
3#![cfg_attr(feature = "docs", doc = document_features::document_features!())]
4//! ## License
5//!
6//! This project is licensed under the MIT or Apache-2.0 license.
7//! You can choose between one of them if you use this work.
8//!
9//! `SPDX-License-Identifier: MIT OR Apache-2.0`
10#![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))]
11#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12#![allow(clippy::all)]
13#![deny(unsafe_code)]
14#![deny(unreachable_pub)]
15
16include!(concat!(env!("OUT_DIR"), "/tinc.rs"));
17
18/// The raw protobuf file
19pub const TINC_ANNOTATIONS: &str = include_str!("../annotations.proto");
20/// Path to the pre-compiled field-descriptors
21pub const TINC_ANNOTATIONS_PB_PATH: &str = concat!(env!("OUT_DIR"), "/tinc.annotations.pb");
22/// Field descriptor binary
23pub const TINC_ANNOTATIONS_PB: &[u8] = include_bytes!(concat!(env!("OUT_DIR"), "/tinc.annotations.pb"));