Noa e3582131fe
Migrate to Rust 2024 (#3802)
# 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
2026-03-03 11:06:52 +00:00
..
2026-03-03 11:06:52 +00:00
2023-09-12 12:50:47 -05:00
2025-08-22 19:36:47 +00:00

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