alma 0.1.1

A Bevy-native modal text editor with Vim-style navigation.
Documentation
//! Wasmtime component adapter.

/// Runtime construction, loaded instance orchestration, and owner-loop entry points.
mod adapter;
/// Redacted Wasmtime failure and observe-task enqueue error vocabulary.
mod error;
/// Guest fuel and epoch-deadline guards.
mod execution;
/// Typed Wasmtime resource-table vocabulary for update-scoped handles.
mod resources;
/// Scheduled-update and revocation proof shapes.
mod schedule;
/// Store-local host import state and generated host import adapters.
mod store;
/// Runtime-owned workspace observation task queue and resource state.
mod workspace_observe;

#[cfg(test)]
mod tests;

pub use adapter::{WasmtimePluginInstance, WasmtimePluginRuntime};
pub use error::{
    WasmtimePluginRuntimeError, WasmtimePluginRuntimeFailure, WasmtimePluginRuntimeFailureKind,
    WasmtimePluginRuntimePhase, WasmtimeWorkspaceObserveTaskBatchIdentityMismatchIdentities,
    WasmtimeWorkspaceObserveTaskEnqueueError, WasmtimeWorkspaceObserveTaskEnqueueErrorKind,
    WasmtimeWorkspaceObserveTaskInstanceStateMismatchIdentities,
};
pub use schedule::{
    WasmtimePluginRevocationCleanup, WasmtimePluginScheduledUpdate,
    WasmtimePluginScheduledUpdateParts, WasmtimePluginUpdateScheduleError,
    WasmtimeWorkspaceObserveTaskScheduleDiscardReport,
    WasmtimeWorkspaceObserveTaskScheduleDiscardReportParts,
    WasmtimeWorkspaceObserveTaskScheduleError, WasmtimeWorkspaceObserveTaskScheduleErrorParts,
};

#[cfg(test)]
use crate::plugin::host::{PluginHostOwnerBatches, PluginWorkspaceObserveTaskResourceAuthority};
#[cfg(test)]
use execution::{GuestDeadline, GuestExecutionGuard, epoch_ticks_for};
#[cfg(test)]
use resources::{
    WasmtimeUpdateBufferResource, WasmtimeUpdateResources, WasmtimeUpdateViewResource,
};
#[cfg(test)]
use store::WasmtimeStoreState;
#[cfg(test)]
use workspace_observe::{
    WasmtimeWorkspaceObserveTaskResourceDrop, WasmtimeWorkspaceObserveTaskResourceLimit,
    WasmtimeWorkspaceObserveTaskResourceRep, WasmtimeWorkspaceObserveTaskResources,
    WasmtimeWorkspaceObserveTasks,
};