Files
memona-plugin-ftp/sdk/src/lib.rs
T

19 lines
620 B
Rust

//! Rust guest bindings for the versioned Memona filesystem component contract.
wit_bindgen::generate!({
path: "wit",
world: "filesystem",
pub_export_macro: true,
default_bindings_module: "memona_plugin_sdk",
});
pub use exports::memona::filesystem::provider::{
Capabilities, Change, ChangeKind, ChangePage, Entry, EntryKind, ErrorCode,
FileInfo, Guest, GuestReader, GuestWriter, ListPage, Locator, Reader,
WriteCondition, Writer,
};
pub use memona::filesystem::host::{
Exchange, Header, HostError, LogLevel, Method, Request, Response, Setting,
Tcp, Udp, bind, config, connect, http, log,
};