New shared `maestro-names` crate producing `adjective-instrument` session handles drawn from the orchestra pit — musical tempo/dynamics/articulation markings × instruments and forms (e.g. `allegro-cello`, `crescendo-oboe`, `staccato-viola`), tying handles to the app's conductor metaphor. - Pure generation takes an injected RNG; no thread_rng/clock in pure paths, so seeded tests are reproducible (repo invariant). - `generate_unique` prefers the bare name, appending an incrementing numeric suffix (`-2`, `-3`, …) only on collision via an injected `is_taken`. - `generate_thread` is the one impure convenience wrapper for runtime callers. - Wordlists are public so the web UI can mirror them for instant reroll; the Rust generator stays the source of truth. Closes #23. Part of #21 (spawn dialog rework). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
48 lines
1.6 KiB
TOML
48 lines
1.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
repository = "https://git.naps.pt/naps62/maestro"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
axum = { version = "0.7", features = ["ws"] }
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
|
dirs = "5"
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
jsonwebtoken = { version = "9", default-features = false }
|
|
libc = "0.2"
|
|
maestro-config = { path = "crates/maestro-config" }
|
|
maestro-names = { path = "crates/maestro-names" }
|
|
maestro-protocol = { path = "crates/maestro-protocol" }
|
|
maestro-tui = { path = "crates/maestro-tui" }
|
|
nix = { version = "0.29", default-features = false, features = ["term", "signal"] }
|
|
rand = "0.8"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "cookies", "stream"] }
|
|
rust-embed = "8"
|
|
include_dir = "0.7"
|
|
mime_guess = "2"
|
|
bytes = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tempfile = "3"
|
|
thiserror = "1"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time", "net", "io-util", "fs", "signal", "process"] }
|
|
tokio-tungstenite = "0.21"
|
|
toml = "0.8"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
ratatui = "0.28"
|
|
vt100 = "0.15"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|