1 unstable release

Uses new Rust 2024

new 0.1.0 May 12, 2025

#181 in Procedural macros

MIT/Apache

780KB
17K SLoC

The code generator for tinc.

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.


tinc-build

[!WARNING]
This crate is under active development and may not be stable.

crates.io docs.rs


The code generator for tinc.

Usage

In your build.rs:

fn main() {
    tinc_build::Config::prost()
        .compile_protos(&["proto/test.proto"], &["proto"])
        .unwrap();
}

Status

This crate is currently under development and is not yet stable.

Unit tests are not yet fully implemented. Use at your own risk.

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

~14–27MB
~401K SLoC