Skip to content

grpc: mark :gun and :mint as optional dependencies#525

Open
dcrck wants to merge 4 commits intoelixir-grpc:masterfrom
dcrck:feat/optional-http-client-adapters
Open

grpc: mark :gun and :mint as optional dependencies#525
dcrck wants to merge 4 commits intoelixir-grpc:masterfrom
dcrck:feat/optional-http-client-adapters

Conversation

@dcrck
Copy link
Copy Markdown

@dcrck dcrck commented Apr 23, 2026

This commit marks :grpc's HTTP client adapters (:gun and :mint) as optional dependencies. This is a common pattern among similar libraries, since most users will only use one HTTP client and fewer dependencies is generally a good thing.

This commit also adds missing adapter tests to the interop script that runs in CI.

Closes #524

I don't know if the script changes I made are how you're supposed to do it, but it's my best guess since I can't seem to run them locally. We'll see if it works!

This commit marks `:grpc`'s HTTP client adapters (`:gun` and `:mint`) as
optional dependencies. This is a common pattern among similar libraries,
since most users will only use one HTTP client and fewer dependencies is
generally a good thing.

This commit also adds missing adapter tests to the `interop` script that
runs in CI.
Comment thread grpc/lib/grpc/client/adapters/gun.ex Outdated
Comment thread grpc/lib/grpc/client/adapters/mint.ex Outdated
Comment thread interop/script/run.exs Outdated
Comment thread interop/script/run.exs Outdated
Comment thread interop/script/run.exs Outdated
@dcrck dcrck requested a review from polvalente April 23, 2026 19:45
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.

Mark :gun and :mint as optional dependencies

2 participants