Skip to content
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

chore(sidecar): rm unused dependencies #753

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

merklefruit
Copy link
Collaborator

@merklefruit merklefruit commented Jan 29, 2025

We had some unused dependencies in bolt_sidecar.
Added a library attribute to warn us in the future.

Dependencies removed:

  • tokio-stream
  • ssz_rs
  • ethereum_ssz
  • reth_primitives
  • reth_primitives_traits
  • bytes

@merklefruit
Copy link
Collaborator Author

📚 $\text{Stack Overview}$

Pulls submitted in this stack:

This comment was automatically generated by st.

Comment on lines +7 to +9
// Manually silence "rustls" crate being unused
#[allow(unused_extern_crates)]
extern crate rustls;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because rustls isn't used in the lib/ code, so the "unused crate" warning is triggered, but we do use it in bin/sidecar.rs, which isn't checked by this particular rule.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, related to #706

@merklefruit merklefruit force-pushed the nico/chore/rm-unused-deps branch from 5e71ea3 to fd04dd7 Compare January 29, 2025 13:47
Base automatically changed from nico/chore/minimize-reth-deps to unstable January 30, 2025 10:25
@merklefruit merklefruit merged commit cd68336 into unstable Jan 30, 2025
3 checks passed
@merklefruit merklefruit deleted the nico/chore/rm-unused-deps branch January 30, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants