-
Notifications
You must be signed in to change notification settings - Fork 7
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
refactor(hugr-model)!: Reexport indexmap
, bumpalo
, and fxhash
from hugr-model
#1870
base: main
Are you sure you want to change the base?
Conversation
7425257
to
0ac2e5f
Compare
is it possible to export just the relevant types, perhaps using aliases? e.g. rather than re-exporting entire dependencies. Changes to these exports would be breaking in future. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1870 +/- ##
=======================================
Coverage 86.52% 86.52%
=======================================
Files 194 194
Lines 35250 35250
Branches 32063 32063
=======================================
Hits 30501 30501
Misses 2973 2973
Partials 1776 1776
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I don't see any reason to prefer an alias over a That's what I started with, but I decided I would rather not make a decision on what are the relevant items. To be clear before this PR breaking changes to these dependencies would already be breaking changes for hugr-model, but in a much more annoying way. When there are not breaking changes this approach is the most useful for users, because we have not excluded something they need. Happy to revise if you think it's much better. I would include:
all in hugr_model::v0 |
fair enough, I'd like to hear @zrho 's opinion on what are the useful set of things to make part of the interface |
|
BREAKING CHANGE:
read_from_slice
now returns a new typeReadError
.