# Description of Changes
Runtime specific changes from
https://github.com/clockworklabs/SpacetimeDB/pull/5113.
- `spacetimedb-runtime` enforces exactly one feature at compile time:
`tokio` or `simulation`. It rejects both-enabled and neither-enabled
builds explicitly.
- This also keeps `tokio::sync` re-exported from runtime, look at code
comment for reasoning.
# API and ABI breaking changes
NA
# Expected complexity level and risk
1
# Description of Changes.
Introduces deterministic runtime crate.
Integrate it with RelationalDB.
I think best steps to review:
- Read the
[README](https://github.com/clockworklabs/SpacetimeDB/blob/shub/sim/crates/runtime/README.md)
of runtime crate.
- Look at the integration with existing crates - `durability`, `core`,
`snapshot`, etc.
- Read runtime crate's code.
Draft branch to Test code -
https://github.com/clockworklabs/SpacetimeDB/pull/5019
# API and ABI breaking changes
NA
# Expected complexity level and risk
Does not intend to change any production functionality, but it's big
code.
# Testing
- new crate contains unit and integration tests.
- Existing tests should work for production.
---------
Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>