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

database: move bins to separate crates #1783

Closed
wants to merge 8 commits into from

Conversation

klensy
Copy link
Contributor

@klensy klensy commented Dec 25, 2023

There no way to do bin only dependencies today, so move bins from database; eventually allows to build less unneeded crates via dependencies.

Played around with crate features; hope there no surprise with cargo feature merge.

@Kobzol
Copy link
Contributor

Kobzol commented Dec 26, 2023

Hi, I wonder what's the motivation for this? Just reducing compile times for the collector/site binaries?

@klensy
Copy link
Contributor Author

klensy commented Dec 26, 2023

Yes, size too; plus more clear separation of functionality/dependencies.

@Kobzol
Copy link
Contributor

Kobzol commented Dec 26, 2023

It seems to remove only two dependencies from collector/site, and doesn't affect their binary sizes a lot (1 KiB for collector it seems), so I'm not sure if it's worth the churn. That being said, it probably doesn't hurt. Let's see what Mark thinks.

@klensy
Copy link
Contributor Author

klensy commented Dec 26, 2023

No immediate effect, yes.

@Mark-Simulacrum
Copy link
Member

My sense is that this isn't worth the additional complexity.

@klensy
Copy link
Contributor Author

klensy commented Dec 26, 2023

Okay.

@klensy klensy closed this Dec 26, 2023
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