mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-03-20 09:01:05 +08:00
# Description of Changes
It'd be best to review this commit-by-commit, and using
[difftastic](https://difftastic.wilfred.me.uk) to easily tell when
changes are minor in terms of syntax but a line based diff doesn't show
that.
# Expected complexity level and risk
3 - edition2024 does bring changes to drop order, which could cause
issues with locks, but I looked through [all of the warnings that
weren't fixed
automatically](ba80f3fecd/warnings.html)
and couldn't find any issues.
# Testing
n/a; internal code change
sdk-test Rust test
Exercise the functionality of the SpacetimeDB SDK API surface, modeling all the combination
of types, with several examples of tables, indexes and reducers.
Called as part of our tests to ensure the system is working as expected.
Note: Also mirrored as a C# version at
modules/sdk-test-cs, so must be kept in sync.
How to Run
Execute the tests on spacetimedb-sdk at test.rs:
# Will run both Rust/C# modules
cargo test -p spacetimedb-sdk
# Only Rust
cargo test -p spacetimedb-sdk rust
# Only C#
cargo test -p spacetimedb-sdk csharp