-
Notifications
You must be signed in to change notification settings - Fork 713
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
remove risky/heavy unused dependencies #4450
Comments
We can go beyond by disabling the default features in dependencies crate and choose only what we need. See the complete output dep_tree_features.txt |
We should indead remove it
I think we should clean it on the massa repo then, I don't see why not. (If we do need it in the future we just have to make sure we align the versions).
Can you compare the alternatives? I see https://docs.rs/num_threads/latest/num_threads/index.html that could be lighter to depend on if it's the same behaviour.
If there are no bad consequences of this, go for it. But if we aim to support JsonRPC for a bit longer we should not "downgrade" it IMO.
Maybe it's not necessary for all of them, the .lock should prevent most trouble, no? Or maybe it's easier to just target a fixed rev, not sure. |
@Leo-Besancon we can't remove |
Indeed I misread the code! |
We have a last point to see with @sydhds about forking the 3 repositories above |
|
https://github.com/massalabs/substruct
https://github.com/massalabs/machine/tree/fix-workspace-build (I'll let you @aoudiamoncef merge to main if you think it's relevant to do so)
@aoudiamoncef can you try and update to this one? Check if there is a release on crates, etc. We'll fork it if needed |
Candidates to removal:
paw
is not referenced in the codebase.quiche
is not a direct massa dependency but It's deeply integrated inPeerNet
. CC @AurelienFTrayon
is used once in the codebase in:paginate
crate could be removed as we can remove pagination inget_stakers
in JsonRPC API.The text was updated successfully, but these errors were encountered: