Skip to content

Move Selector into database crate #1958

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

Merged
merged 10 commits into from
Aug 5, 2024

Conversation

s7tya
Copy link
Contributor

@s7tya s7tya commented Aug 3, 2024

To implement #1734, it would be nice to move Selector from the site crate to the database crate.
This PR will move Selector itself and related things into the database crate.

I left things like SiteCtxt that is only used in the site crate as it is.

@s7tya s7tya force-pushed the move-selector-to-db-crate branch from d050a36 to e04183d Compare August 5, 2024 12:29
@s7tya s7tya marked this pull request as ready for review August 5, 2024 12:43
@s7tya s7tya force-pushed the move-selector-to-db-crate branch 4 times, most recently from e04183d to 622148d Compare August 5, 2024 13:00
@s7tya s7tya force-pushed the move-selector-to-db-crate branch from 622148d to b65e194 Compare August 5, 2024 15:53
Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM, apart from a few small nits. Would you like to also remove async_trait in this PR?

@s7tya s7tya force-pushed the move-selector-to-db-crate branch 2 times, most recently from b3d1e5c to 0c2fbb1 Compare August 5, 2024 20:32
@s7tya s7tya force-pushed the move-selector-to-db-crate branch from 0c2fbb1 to dba0c6b Compare August 5, 2024 20:40
Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! This should help us use queries from collector nicely.

@Kobzol Kobzol merged commit ee645a2 into rust-lang:master Aug 5, 2024
11 checks passed
@s7tya s7tya deleted the move-selector-to-db-crate branch August 5, 2024 21:05
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