vtx-protocol

Crates.iovtx-protocol
lib.rsvtx-protocol
version5.0.0
created_at2025-12-28 10:26:09.25958+00
updated_at2026-01-19 14:37:32.241463+00
descriptionOfficial WIT interface definitions for VTX Project
homepage
repository
max_upload_size
id2008563
size8,151
(Hellohistory)

documentation

README

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();

Commit count: 0

cargo fmt