#wit #vtx #define #file-content #wit-file #generate-bindings #filesystem-path #carrier

vtx-protocol

Official WIT interface definitions for VTX Project

19 stable releases (5 major)

5.0.0 Jan 19, 2026
4.0.0 Jan 19, 2026
3.6.0 Jan 8, 2026
3.4.2 Dec 31, 2025
0.1.0 Dec 28, 2025

#702 in Filesystem

Download history 91/week @ 2025-12-28 37/week @ 2026-01-04 96/week @ 2026-01-11 16/week @ 2026-01-18

240 downloads per month
Used in 2 crates (via vtx-sdk)

Apache-2.0

4KB

vtx-protocol

Crates.io Docs

Official WIT interface definitions for VTX Project.

This crate acts as a Schema Carrier. It provides the raw .wit file content and its filesystem path. It is primarily used by the vtx-sdk and vtx-cli to generate bindings during the build process.

Building a Plugin? You probably want the high-level SDK instead: vtx-sdk.

Installation

[dependencies]
vtx-protocol = "1.2.6"

Usage

This crate does not contain generated bindings. It only provides access to the protocol definition.

// 1. Get the raw WIT content string
let content = vtx_protocol::WIT_CONTENT;

// 2. Get the absolute path to the bundled vtx.wit file
// (Useful for build.rs scripts or CLI tools)
let wit_path = vtx_protocol::get_wit_path();

No runtime deps