Crate wit_bindgen_wrpc

Crate wit_bindgen_wrpc 

Source
Expand description

Bindings generation support for wRPC using Rust with the Component Model.

This crate is a bindings generator for WIT and the Component Model. Users are likely interested in the generate! macro which actually generates bindings. Otherwise this crate provides any runtime support necessary for the macro-generated code.

Re-exports§

pub use anyhow;
pub use bitflags;
pub use bytes;
pub use futures;
pub use tokio;
pub use tokio_util;
pub use tracing;
pub use wasm_tokio;
pub use wrpc_transport;

Macros§

generate
Generate bindings for an input WIT document.