reth
reth copied to clipboard
Remove `webpki-roots` as dependency
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
This issue is stale because it has been open for 21 days with no activity.
won't fix