docs(wit): document capability and component contracts
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
//! Smallest request/response Component example: it returns input bytes unchanged.
|
||||
|
||||
mod bindings {
|
||||
// Generate the guest trait and export adapter from the selected WIT world.
|
||||
// Dependency sync must populate `wit/deps` before this macro is compiled.
|
||||
wit_bindgen::generate!({
|
||||
path: "wit",
|
||||
world: "echo-component",
|
||||
|
||||
Reference in New Issue
Block a user