-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve and complete alloy
prelude crate feature flag compatiblity
#421
feat: improve and complete alloy
prelude crate feature flag compatiblity
#421
Conversation
…-prelude-crate Breaking changes: flags / exports
transport-http-reqwest = ["dep:reqwest", "alloy-transport-http?/reqwest"] | ||
transport-http-hyper = ["alloy-transport-http?/hyper"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking change, now uses reqwest
and hyper
top level definitions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optionally we could mark these as deprecated instead of removing them outright
alloy
prelude crate feature flag compatiblityalloy
prelude crate feature flag compatiblity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these make sense to me!
|
||
# alloy | ||
default-tls = ["reqwest?/default-tls"] | ||
jsonrpsee-types = ["alloy-rpc-types?/jsonrpsee-types", "alloy-rpc-engine-types?/jsonrpsee-types"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking change, renamed to rpc-types-json
|
||
# alloy | ||
default-tls = ["reqwest?/default-tls"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking change, now part of reqwest
flag
how will this interact with #379? I'd prefer to merge that one first as it is smaller |
I've pulled in the latest changes, there were no breaking changes. I've added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
Motivation
Closes #391, has a mirror PR for
alloy/examples
here: alloy-rs/examples#39Solution
Fixes:
pubsub
feature onalloy-provider
when usingprovider-ws
orprovider-ipc
rpc-client-ws
,rpc-client-ipc
as feature flags.native-keccak
flag that was not re-exported fromalloy/core
.std
as a default feature but supportno_std
reqwest
andhyper
as top-level definitions and apply torpc-client
andtransport
reqwest
as default featureserde
feature flagPR Checklist