Skip to content

Extract spacetimedb-memory-usage & Nix bindings dep on spacetimedb-data-structures #2919

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

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Jul 4, 2025

Description of Changes

The trait MemoryUsage is moved to its own crate (spacetimedb-memory-usage) to facilitate extracting out Pool<T> from PagePool as done in the next PR #2920. Having more small crates is a great thing. This is also done to get rid of some dependencies of spacetimedb (crates/bindings).

Preparatory work extracted from #2911.

API and ABI breaking changes

None

Expected complexity level and risk

2, this is mostly just code motion.

Testing

Covered by existing tests.

@Centril Centril requested a review from kim July 4, 2025 10:12
@Centril Centril added this pull request to the merge queue Jul 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jul 4, 2025
@Centril Centril force-pushed the centril/extract-memory-usage branch from f649f31 to cf2cfde Compare July 4, 2025 12:34
@Centril Centril enabled auto-merge July 4, 2025 12:34
@Centril Centril added this pull request to the merge queue Jul 4, 2025
Merged via the queue into master with commit 1166d68 Jul 4, 2025
18 of 19 checks passed
@Centril Centril deleted the centril/extract-memory-usage branch July 4, 2025 13:15
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