Crates.io | tinc-build |
lib.rs | tinc-build |
version | 0.2.0 |
created_at | 2025-05-12 19:16:02.959368+00 |
updated_at | 2025-08-06 13:31:53.73037+00 |
description | A build script that generates code for tinc protobuf annotations |
homepage | |
repository | https://github.com/scufflecloud/scuffle |
max_upload_size | |
id | 1671006 |
size | 556,765 |
[!WARNING]
This crate is under active development and may not be stable.
The code generator for tinc
.
prost
(enabled by default) — Enables prost codegendocs
— Enables documentation of feature flagsIn your build.rs
:
fn main() {
tinc_build::Config::prost()
.compile_protos(&["proto/test.proto"], &["proto"])
.unwrap();
}
Look at Config
to see different options to configure the generator.
This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0