# Three crates, split along the line that matters: what must compile to wasm and # what may not. # # sds-core is pure - types and reasoning, no I/O, no tokio. It has to run in a # browser eventually, because the cheapest bot is one that runs on the player's # machine and costs nothing to host. sds-node and sds-bot own the I/O and the # runtime, and neither may be reached from core. [workspace] members = ["crates/sds-core", "crates/sds-node", "crates/sds-bot"] resolver = "2" [workspace.package] version = "0.1.0" edition = "2021" license = "GPL-3.0-or-later" [workspace.dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" anyhow = "1" async-trait = "0.1" tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "sync", "time"] }