tinc-build 0.2.1

A build script that generates code for tinc protobuf annotations
docs.rs failed to build tinc-build-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: tinc-build-0.2.3

tinc-build

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

docs.rs crates.io License: MIT OR Apache-2.0 Crates.io Size Crates.io Downloads Codecov


The code generator for tinc.

Feature flags

  • prost (enabled by default) — Enables prost codegen
  • docs — 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