paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
4.01k stars 1.23k forks source link

Remove `webpki-roots` as dependency #7886

Open onbjerg opened 7 months ago

onbjerg commented 7 months ago

Describe the feature

webpki-roots is currently a transitive dependency of Reth because of jsonrpsee and reqwest.

jsonrpsee uses webpki-roots for the TLS WebSocket transport, which is enabled when the client feature is used.

jsonrpsee also has support for rustls-native-certs (ref), though, which is what we use anyway.

For some reason, but rustls support and webpki-roots is enabled when enabling the client feature. See their Cargo.toml

As for reqwest, webpki-roots is automatically pulled when enabling the rustls-tls feature. We should instead enable rustls-tls-native-roots.

Additional context

No response

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 21 days with no activity.