id_effect_platform
Cross-cutting platform traits (HTTP, filesystem, process) for id_effect, aligned with Effect.ts @effect/platform.
Modules
| Module | Description |
|---|---|
error |
HttpError, FsError, ProcessError, PlatformError |
http |
HttpClient, ReqwestHttpClient, HttpClientKey, portable request/response |
fs |
FileSystem, LiveFileSystem, TestFileSystem, FileSystemKey |
process |
ProcessRuntime, TokioProcessRuntime, ProcessRuntimeKey |
uri |
http::Uri parse / build helpers |
auth |
SessionStore, OAuthClient capability traits |
Design
See RFC 0001-id-effect-platform.md.
Testing
Unit and integration tests follow the repository root TESTING.md (BDD-style names, nested #[cfg(test)] modules beside implementation, rstest where inputs form a table). Integration tests under tests/ complement wire/process scenarios; run cargo test -p id_effect_platform.
HTTP modules
| Module | Role |
|---|---|
http |
Portable HttpClient, execute, execute_stream |
http::reqwest |
send, json, json_schema, pools (provide_reqwest_pool) |
Runnable examples