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

Separate core types into stable crate #49

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

rnarubin
Copy link
Collaborator

This change moves the fundamental message-related traits and types into their own hedwig_core crate. This crate will have more version stability than the primary crate, which should allow less dependency churn when a set of message types are used across many crates.

Further divisions of the library were considered. For example, it could be sensible to separate out hedwig-gcp, hedwig-prost, hedwig-json, etc. This would enable even better upgrade granularity, but at a maintenance cost. Both this repo and its users would then have to specify/coordinate/upgrade a plethora of crates to get a working system. Ultimately a smaller split of core+rest seems like a better compromise.

This change moves the fundamental message-related traits and types into
their own hedwig_core crate. This crate will have more version stability
than the primary crate, which should allow less dependency churn when a
set of message types are used across many crates.

Further divisions of the library were considered. For example, it could
be sensible to separate out hedwig-gcp, hedwig-prost, hedwig-json, etc.
This would enable even better upgrade granularity, but at a maintenance
cost. Both this repo and its users would then have to
specify/coordinate/upgrade a plethora of crates to get a working system.
Ultimately a smaller split of core+rest seems like a better compromise.
@rnarubin rnarubin merged commit 8c37b09 into standard-ai:master Dec 20, 2023
5 checks passed
@rnarubin rnarubin deleted the hedwig_core branch December 20, 2023 02:25
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