whiskers.git / web / Cargo.toml
1[workspace]
2resolver = "3"
3members = ["cat", "site", "worker", "previewgen"]
4
5[workspace.package]
6version = "0.0.0"
7edition = "2024"
8publish = false
9
10[workspace.dependencies]
11cat = { path = "cat" }
12site = { path = "site" }
13# The cat's mood vocabulary and the rules that move it are the app's own: the site checks
14# its demo against them (site/src/mood.rs) and does not copy them.
15whiskers-pet = { path = "../crates/whiskers-pet" }
16# The cat's drawing and motion, shared with the Android app.
17whiskers-art = { path = "../crates/whiskers-art" }
18# The look and page shell the Jev sites share (stylesheet, head and body, components, the
19# link-preview tags and card, Datastar, fonts). A submodule pinned like lmjtfy's.
20whiskers-judge = { path = "../crates/whiskers-judge" }
21whiskers-core = { path = "../crates/whiskers-core" }
22jev-protocol = { path = "../third-party/jevcrates/jev-protocol" }
23jev-ui = { path = "../third-party/jevcrates/jev-ui" }
24
25axum = { version = "0.8", default-features = false, features = ["json", "query"] }
26datastar = "0.4"
27font8x8 = "0.3"
28http = "1"
29maud = "0.27"
30serde = { version = "1", features = ["derive"] }
31serde_json = "1"
32sha2 = "0.11"
33tower-service = "0.3"
34# The wasm-bindgen crate and CLI must be the same version. The CLI is nix's (flake.nix, the
35# `web` shell); moving nixpkgs moves this pin with it.
36wasm-bindgen = "=0.2.127"
37worker = { version = "0.8", features = ["http", "axum"] }
38
39[profile.release]
40opt-level = "s"
41lto = true
42codegen-units = 1