Platform abstraction layer for clawft.
Provides traits for all platform-dependent operations (HTTP, filesystem, environment, process spawning) so the core engine can be platform-agnostic and WASM-compatible.
Architecture
The [Platform] trait bundles all platform capabilities via accessor methods.
Each sub-capability has its own trait ([http::HttpClient], [fs::FileSystem],
[env::Environment], [process::ProcessSpawner]) with a corresponding native
implementation.
ProcessSpawner is intentionally excluded from the
[Platform] bundle because it is unavailable in WASM environments. It is
accessible via [Platform::process] which returns Option.
Example
use ;
use HttpClient;
use HashMap;
# async