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

Use fewer features for the diesel dependency in omicron-common #221

Closed
wants to merge 1 commit into from

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Sep 8, 2021

These features aren't needed - our usage of Diesel in omicron-common is limited to errors and single column conversions (name, generation, bytecount, etc).

@davepacheco
Copy link
Collaborator

I don't have a strong opinion either way, but is the goal to reduce build times? Wouldn't this require us to build Diesel twice, once for each unique combination of features?

@smklein
Copy link
Collaborator Author

smklein commented Oct 5, 2021

I don't have a strong opinion either way, but is the goal to reduce build times? Wouldn't this require us to build Diesel twice, once for each unique combination of features?

Yeah, you're right. Going to close this out for now, but I think an approach like https://docs.rs/cargo-hakari/0.9.4/cargo_hakari/about/index.html could be used here.

@smklein smklein closed this Oct 5, 2021
@smklein smklein deleted the diesel-fewer-features branch October 5, 2021 19:00
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