Skip to content

fix: do not require default features for axum#55

Open
siketyan wants to merge 2 commits intoanthropics:mainfrom
siketyan:fix/axum-default-features
Open

fix: do not require default features for axum#55
siketyan wants to merge 2 commits intoanthropics:mainfrom
siketyan:fix/axum-default-features

Conversation

@siketyan
Copy link
Copy Markdown

Previously, the connectrpc crate required default features of the axum crate. This created a dependency chain of axum/tokio -> tokio/net -> mio. Since mio does not support WebAssembly (WASM), it was impossible to use this crate in environments like Cloudflare Workers.

Because connectrpc does not actually depend on any of the default features, this PR disables them. This change removes the incompatible dependencies and enables the crate to be used in WASM environments.

No changes are required to the current crate users.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 17, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@siketyan
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Apr 17, 2026
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