| Crates.io | vtx-protocol |
| lib.rs | vtx-protocol |
| version | 5.0.0 |
| created_at | 2025-12-28 10:26:09.25958+00 |
| updated_at | 2026-01-19 14:37:32.241463+00 |
| description | Official WIT interface definitions for VTX Project |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2008563 |
| size | 8,151 |
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.
[dependencies]
vtx-protocol = "1.2.6"
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();