Skip to content

Make dst crate a lib in public.#5466

Open
Shubham8287 wants to merge 1 commit into
masterfrom
shub/async-dst
Open

Make dst crate a lib in public.#5466
Shubham8287 wants to merge 1 commit into
masterfrom
shub/async-dst

Conversation

@Shubham8287

@Shubham8287 Shubham8287 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Makes spacetimedb-dst to spacetimedb-dst-lib.
To be able to write tests for private repo, We have two options:

  1. Write all DST code in private.
  2. Make this a lib with test covering public specific code, and write a bin in private,

I chose option 2 as it's easier to maintain tests like this, else you may have to raise a separate PR for changes in engine crate, which will be painful.

This also makes methods of TestSuite async.

binary crate PR - https://github.com/clockworklabs/SpacetimeDBPrivate/pull/3287

API and ABI breaking changes

NA

Expected complexity level and risk

1

Testing

Not applicable.

@Shubham8287 Shubham8287 changed the base branch from master to shub/new-dst July 1, 2026 14:47
@Shubham8287 Shubham8287 force-pushed the shub/async-dst branch 2 times, most recently from 9346d65 to 08675c8 Compare July 1, 2026 16:47
@Shubham8287 Shubham8287 changed the base branch from shub/new-dst to master July 1, 2026 18:02
@Shubham8287 Shubham8287 requested review from jsdt and removed request for bfops, cloutiertyler and jdetter July 1, 2026 18: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.

1 participant