mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-06-28 16:58:39 -04:00
2fd8a87d3c
# 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
25 lines
658 B
TOML
25 lines
658 B
TOML
[package]
|
|
name = "spacetimedb-runtime"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license-file = "LICENSE"
|
|
description = "Runtime and deterministic simulation utilities for SpacetimeDB"
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
tokio.workspace = true
|
|
async-task = { version = "4.4", default-features = false, optional = true }
|
|
spin = { version = "0.9", default-features = false, features = ["mutex", "spin_mutex"], optional = true }
|
|
libc = { version = "0.2", optional = true }
|
|
|
|
[dev-dependencies]
|
|
futures.workspace = true
|
|
|
|
[features]
|
|
default = ["tokio"]
|
|
tokio = []
|
|
simulation = ["dep:async-task", "dep:spin", "dep:libc"]
|