-
Notifications
You must be signed in to change notification settings - Fork 189
[types] Remove unnecessary deps #261
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
Conversation
4cb5a48
to
120730e
Compare
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.
Thanks for your PR.
Looks overall good but I don't really understand the rationale behind making this crate no-std
without the client traits then it's not super useful, such as the proc macros wouldn't work. I suppose making the SubscriptionClient trait
std only (subscription type) and make Client trait
no-std would do it.
Can you elaborate why making the types no-std
is useful? The intention is that it's a internal crate for jsonrpsee
but maybe useful for other purposes?
If necessary, I can remove |
Sure, why not it introduces some boiler plate code for 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.
LGTM except the typo, see inline suggestion.
IIRC, |
Yes, but it's possible to do it with |
Cool! Thanks for the link |
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.
Reducing compile times is great, thank you so much for looking into this.
I agree with @niklasad1 that no-std
is not a goal and adds more noise than it's worth imo. I also think that the added boilerplate around errors is questionable. I prefer it the way it was.
Any chance we can keep the compile time improvements without the inlining, no-std, and error re-implementations?
@dvdplm please take another look at this PR ^^ |
No description provided.