Skip to main content

Crate memlink_runtime

Crate memlink_runtime 

Source
Expand description

Memlink runtime - dynamic module loading and execution.

Re-exports§

pub use abi::AbiInfo;
pub use abi::AbiVersionError;
pub use arena::Arena;
pub use error::Error;
pub use error::Result;
pub use exports::ExportCategory;
pub use exports::OPTIONAL_EXPORTS;
pub use exports::REQUIRED_EXPORTS;
pub use ffi::ModuleLoader;
pub use ffi::ModuleSymbols;
pub use instance::ModuleInstance;
pub use instance::ModuleProfile as InstanceProfile;
pub use mhash::fnv1a_hash;
pub use metrics::Counter;
pub use metrics::Histogram;
pub use metrics::RuntimeMetrics;
pub use panic::safe_call;
pub use panic::safe_call_unchecked;
pub use panic::PanicError;
pub use profile::ModuleProfile;
pub use reload::ReloadConfig;
pub use reload::ReloadState;
pub use resolver::ArtifactHandle;
pub use resolver::ModuleRef;
pub use resolver::ModuleResolver;
pub use runtime::ModuleHandle;
pub use runtime::ModuleRuntime;
pub use runtime::ModuleUsage;
pub use runtime::Runtime;
pub use safety::MemoryTracker;
pub use safety::SafetyConfig;
pub use safety::StackDepth;
pub use validation::validate_module;
pub use validation::CachedValidation;
pub use validation::ValidationCache;
pub use validation::ValidationResult;

Modules§

abi
Module ABI version checking and compatibility validation.
arena
Arena allocator for module memory management.
error
Error types for the memlink runtime.
exports
Required and optional module exports definition.
ffi
FFI module for dynamic library loading.
instance
Module instance - a loaded and callable module.
metrics
Runtime metrics collection with Prometheus-compatible output.
mhash
Method hashing for FFI-efficient dispatch.
panic
Panic isolation for safe FFI calls.
prelude
profile
Module profile - configuration and metadata for loaded modules.
reload
Hot-reload support for module reloading.
resolver
Module resolution - locating and validating module artifacts.
runtime
High-level module runtime API.
safety
Safety hardening features for the runtime.
validation
Module validation.