19 lines
734 B
Markdown
19 lines
734 B
Markdown
# Implementation Spec: Round 8 — COMPLETE
|
|
|
|
## New Feature
|
|
|
|
### ResilientHttpClient (mytheclipse-http, resilience)
|
|
File: `crates/mytheclipse-http/src/resilient_client.rs`
|
|
- `ResilientHttpClient` — reqwest Client + ServiceBuilder pipeline (retry/circuit/timeout)
|
|
- `ResilientClientConfig` — timeout, max_attempts, rate, circuit_breaker
|
|
- `send(req)` / `get(url)` / `post(url, body)` — all run through ServiceBuilder::run
|
|
- Error type `RunError<Box<dyn Error>>` (HttpError alias)
|
|
- 2 tests
|
|
|
|
## Modified
|
|
- http/Cargo.toml: +resilience feature, mytheclipse dep features=full
|
|
- http/lib.rs: +module +export
|
|
- core/lib.rs: pub use RunError, ServiceConfig from service_builder
|
|
|
|
Build: exit 0. Tests: 0 FAILED. Clippy: 0 new warnings.
|