572fed47b4
Detect the resident actor export, route Host events through the bounded Actor mailbox, enforce fuel, deadlines, payload limits, and translate WIT effects into typed runtime values. Add a revision-scoped ResidentSession with deny-by-default TCP, UDP, and Unix endpoint policies, non-reused resource IDs, stream lifecycle and backpressure state, atomic effect validation, timers, subscriptions, extension sources, and shutdown handling. Cover passive rejection, real Component ABI round trips, resource ownership, endpoint policy, and driver operation validation with integration tests.
16 lines
480 B
Rust
16 lines
480 B
Rust
//! Typed host and guest bindings generated from independently versioned WIT packages.
|
|
|
|
// The service world defines the exports every runnable component implements.
|
|
wasmtime::component::bindgen!({
|
|
path: "../../wit/service",
|
|
world: "service-component",
|
|
});
|
|
|
|
/// Optional exports implemented only by active resident Components.
|
|
pub(crate) mod resident {
|
|
wasmtime::component::bindgen!({
|
|
path: "../../wit/resident",
|
|
world: "resident-component",
|
|
});
|
|
}
|