Expand description
Native Runtime Implementation
This module provides a Runtime trait implementation for native (non-WASM)
environments where standard filesystem operations are available.
§Why This Exists
While std::fs works perfectly on native platforms, we wrap it in the
Runtime trait to provide a consistent interface across all platforms.
This allows the bundler core to be platform-agnostic.
§Architecture
Rust (Native)
┌─────────────────┐
│ NativeRuntime │
│ .read_file() │────▶ std::fs::read()
│ .write_file() │────▶ std::fs::write()
│ .exists() │────▶ std::path::Path::exists()
└─────────────────┘
│
▼
┌──────────────┐
│ OS Filesystem│
└──────────────┘Structs§
- Native
Runtime - Native filesystem Runtime implementation using
std::fs.