Skip to content

Migrate from Trillium [part 1]: divviup-client and CLI to reqwest#2193

Open
jcjones wants to merge 4 commits intomainfrom
jcj/axum-migration-part1
Open

Migrate from Trillium [part 1]: divviup-client and CLI to reqwest#2193
jcjones wants to merge 4 commits intomainfrom
jcj/axum-migration-part1

Conversation

@jcjones
Copy link
Copy Markdown
Contributor

@jcjones jcjones commented Apr 9, 2026

Replace trillium-client and trillium-http with reqwest in the divviup-client SDK, and remove trillium-rustls/trillium-tokio from the CLI.

Note

This is a breaking change to the divviup-client public API.

  • DivviupClient now wraps reqwest::Client instead of trillium_client::Client
  • Re-exports http and reqwest crates instead of trillium types
  • Error enum uses reqwest::Error instead of trillium error types
  • CLI uses #[tokio::main] and reqwest::Client::builder() directly
  • Client tests spawn a real TCP server instead of using trillium_testing::connector()
  • Bump workspace version to 0.5.0-pre.1 for the dep break

jcjones added 3 commits April 9, 2026 10:03
Replace trillium-client and trillium-http with reqwest in the
divviup-client SDK, and remove trillium-rustls/trillium-tokio from
the CLI.

> [!note]
> This is a breaking change to the divviup-client public API.

- DivviupClient now wraps reqwest::Client instead of
  trillium_client::Client
- Re-exports http and reqwest crates instead of trillium types
- Error enum uses reqwest::Error instead of trillium error types
- CLI uses #[tokio::main] and reqwest::Client::builder() directly
- Client tests spawn a real TCP server instead of using
  trillium_testing::connector()
- Bump workspace version to 0.5.0-pre.1 for the dep break
@jcjones jcjones marked this pull request as ready for review April 9, 2026 21:03
@jcjones jcjones requested a review from a team as a code owner April 9, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant