chore: cargo workspace with citygen and city crates

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Jeffrey Wilcke
2026-10-12 16:39:05 +02:00
parent 7b225cc5e8
commit 76c07e2927
7 changed files with 1163 additions and 0 deletions

23
crates/city/Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "city"
edition.workspace = true
version.workspace = true
license.workspace = true
[[bin]]
name = "city"
path = "src/main.rs"
[dependencies]
citygen = { path = "../citygen" }
serde.workspace = true
postcard.workspace = true
serde_json.workspace = true
anyhow.workspace = true
ratatui.workspace = true
crossterm.workspace = true
clap.workspace = true
ron.workspace = true
[dev-dependencies]
unicode-width.workspace = true

3
crates/city/src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("city");
}

13
crates/citygen/Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "citygen"
edition.workspace = true
version.workspace = true
license.workspace = true
[dependencies]
serde.workspace = true
rand.workspace = true
rand_chacha.workspace = true
noise.workspace = true
thiserror.workspace = true
ron.workspace = true

View File

@@ -0,0 +1 @@
//! World model and generator for the cyberpunk city.