Registry / other / wit-component

wit-component

JSON →
library0.251.0rscratesunverified

Tooling for working with `*.wit` and component files together.

# Cargo.toml [dependencies] wit-component = "0.251.0"
INSTALL
IMPORT
SIG · WIT-COMPONENT
W
wit-component
otherrustv0.251.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

encode
use wit_component::encode;

Encode a WIT file into a component binary.

use wit_component::encode; fn main() { let bytes = encode("my-component.wit").unwrap(); println!("Encoded {} bytes", bytes.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.251.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
wit-component — cargo add wit-component · libregistry