12 releases
Uses new Rust 2024
| 0.2.3 | Mar 9, 2026 |
|---|---|
| 0.2.2 | Mar 7, 2026 |
| 0.2.0 | Aug 6, 2025 |
| 0.1.7 | Jul 12, 2025 |
| 0.1.3 | May 30, 2025 |
#449 in Procedural macros
98 downloads per month
1MB
18K
SLoC
tinc-build
[!WARNING]
This crate is under active development and may not be stable.
The code generator for tinc.
Feature flags
prost(enabled by default) — Enables prost codegendocs— Enables documentation of feature flags
Usage
In 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.
License
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
Dependencies
~13–23MB
~424K SLoC