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

Move lib::{name,recovery} to client-api-messages #570

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

coolreader18
Copy link
Collaborator

This way, spacetimedb-lib is for stuff that's specifically shared between host and module (that's how I've always interpreted it, at least), and less a catch all for anything that might need to be accessed from 2 different crates. lib is a dependency of bindings, and we should want to keep that as small as is reasonable, so that it builds fast and spacetime init && spacetime build as an onboarding demo is snappy.

Expected complexity level and risk

2, moves some files around so could conflict with other PRs but it's not very
likely nor are there huge changes to the moved files otherwise.

@kulakowski
Copy link
Contributor

@coolreader18 I'd love to do this in general after 0.8 lands.

@bfops bfops added the breaks library compatibility This change breaks the SpacetimeDB library interface label Feb 15, 2024
@bfops bfops added release-any To be landed in any release window and removed verify labels labels Mar 18, 2024
@coolreader18 coolreader18 force-pushed the noa/api-common-crate branch 2 times, most recently from 3c5ba95 to 7d27ca1 Compare March 27, 2024 20:12
@coolreader18 coolreader18 requested a review from kazimuth March 27, 2024 21:45
@coolreader18 coolreader18 force-pushed the noa/api-common-crate branch from 7d27ca1 to 6961b92 Compare March 28, 2024 18:23
@coolreader18 coolreader18 changed the title Move lib::{name,recovery} to their own crate Move lib::{name,recovery} to client-api-messages Mar 28, 2024
@coolreader18 coolreader18 force-pushed the noa/api-common-crate branch from 6961b92 to 76ec551 Compare April 4, 2024 19:09
Copy link
Contributor

@kazimuth kazimuth left a comment

Choose a reason for hiding this comment

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

LGTM, I think this all makes sense.

@coolreader18 coolreader18 force-pushed the noa/api-common-crate branch from 76ec551 to 79c427f Compare April 10, 2024 20:03
@coolreader18 coolreader18 enabled auto-merge April 10, 2024 20:03
@coolreader18 coolreader18 force-pushed the noa/api-common-crate branch from 79c427f to f51bbdd Compare April 10, 2024 20:06
@coolreader18 coolreader18 added this pull request to the merge queue Apr 10, 2024
Merged via the queue into master with commit abdaf88 Apr 10, 2024
6 checks passed
@coolreader18 coolreader18 deleted the noa/api-common-crate branch April 10, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks library compatibility This change breaks the SpacetimeDB library interface release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants