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

Move legacy and refactored legacy to separate crates #271

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

QuentinI
Copy link
Contributor

@QuentinI QuentinI commented Dec 6, 2024

Closes #<ISSUE_NUMBER>

This PR:

Turns out there's no way to set --cfg flags only for specific dependencies, so in order to use refactored legacy builder in sequencer we'd need to recompile sequencer from scratch, which is extremely annoying.
This PR removes cfg flag and just moves implementations to two separate crates.

This PR does not:

Key places to review:

Copy link
Contributor Author

@QuentinI QuentinI Dec 6, 2024

Choose a reason for hiding this comment

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

This is just moving crates/legacy/src/old/lib.rs -> crates/legacy/src/lib.rs, git isn't smart enough to realize what happened and thinks I changed it.

@coveralls
Copy link

Coverage Status

coverage: 90.807% (+0.4%) from 90.398%
when pulling 06e9bf9 on ag/cfg-to-crate
into 28b115f on main.

@QuentinI QuentinI merged commit 7df48a9 into main Dec 6, 2024
8 checks passed
@QuentinI QuentinI deleted the ag/cfg-to-crate branch December 6, 2024 23:58
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.

3 participants