progit-plugin-sdk 0.3.0

Plugin SDK for ProGit — sandboxed LuaJIT runtime with capability-based security. LSL-1.0 (file-level copyleft, proprietary plugins allowed via the commercial bridge).
Documentation
// SPDX-License-Identifier: LSL-1.0
// Copyright (c) 2025 Markus Maiwald

//! WASM Plugin Hello World Example
//!
//! This example demonstrates loading and running a WASM plugin.
//! Requires: `cargo run --example wasm_hello_world --features wasm`

#[cfg(feature = "wasm")]
fn main() {
    println!("WASM plugin example");
    println!("TODO: Implement WASM plugin loading example");
}

#[cfg(not(feature = "wasm"))]
fn main() {
    eprintln!("This example requires the 'wasm' feature.");
    eprintln!("Run with: cargo run --example wasm_hello_world --features wasm");
}