Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

rev-7624053: refactor: from `slog`+`hyper` to `tracing`+`axum` (#45)

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 17:47
· 2 commits to main since this release
7624053
This is a massive refactor which will enable us to collect better logs.

- Moves code out of `main.rs`
  - agent proxy code is now in `proxy/agent.rs`
  - forwarding proxy code is now in `proxy/forward.rs`
  - temporary `src/http_transport.rs` pending on dfinity/agent-rs#373
- Adds a new log format switch with `json` support. The exact format may need some fine tuning
- Completely gets rid of `reqwest`