ryo-plugin-runtime 0.2.0

[experimental] WASM plugin runtime for ryo mutations (registry + executor)
Documentation
//! # Ryo Plugin Runtime
//!
//! WASM plugin runtime for ryo mutations.
//! Provides registry management and execution of WASM-based mutation plugins.
//!
//! ## Architecture
//!
//! ```text
//! ryo-plugin-api      - WIT interface definitions
//! ryo-plugin-loader   - WASM loading (PluginLoader, LoadedPlugin)
//! ryo-plugin-runtime  - Registry + Executor (this crate)
//! ```
//!
//! ## Usage
//!
//! ```ignore
//! use ryo_plugin_runtime::{MutationRegistry, PluginExecutor};
//!
//! let mut registry = MutationRegistry::new()?;
//! registry.load_plugins_from_dir("~/.ryo/plugins")?;
//!
//! let mut executor = PluginExecutor::new(&mut registry);
//! let result = executor.execute("bool-simplify", Path::new("src/lib.rs"), source)?;
//! ```

mod executor;
mod registry;

pub use executor::*;
pub use registry::*;

// Re-export commonly used types from ryo-plugin-loader
pub use ryo_plugin_loader::{
    Capture, LoadedPlugin, LoaderError, MatchResult, MutationCategory, MutationManifest, NodeKind,
    PluginLoader, TextEdit, TransformContext, TransformDef, TransformError, TypeHint,
    CURRENT_API_VERSION,
};