Skip to content

chore(core): disable unused jsonrpsee client transports#804

Merged
ncitron merged 1 commit into
a16z:masterfrom
hellno:chore/jsonrpsee-server-features
Jun 22, 2026
Merged

chore(core): disable unused jsonrpsee client transports#804
ncitron merged 1 commit into
a16z:masterfrom
hellno:chore/jsonrpsee-server-features

Conversation

@hellno

@hellno hellno commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Closes #803.

Summary

Narrow jsonrpsee's enabled features from full to server, macros, and client-core.

Helios uses jsonrpsee to serve its local JSON-RPC API but does not construct its HTTP, WebSocket, or WASM client transports. Because Cargo features are additive, enabling full forced downstream consumers to inherit those unused transports.

This removes the legacy dependency path:

jsonrpsee 0.19 -> rustls 0.21 -> rustls-webpki 0.101

client-core remains enabled for the existing #[rpc(client, server)] declarations.

Validation

  • cargo fmt --all -- --check
  • cargo check --workspace --all-targets --locked
  • cargo test -p helios-core --locked — 14 tests passed
  • Confirmed that the jsonrpsee HTTP, WebSocket, and WASM transports are absent from the active dependency graph.

No package versions or runtime APIs changed.

@ncitron ncitron left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ncitron ncitron merged commit 43a8c9f into a16z:master Jun 22, 2026
7 of 9 checks passed
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.

Avoid pulling unused jsonrpsee client transports

2 participants