Skip to content

Commit 39346cf

Browse files
committed
[monorepo] removing pointless info from claude.md
1 parent 0861e44 commit 39346cf

File tree

1 file changed

+3
-78
lines changed

1 file changed

+3
-78
lines changed

CLAUDE.md

Lines changed: 3 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -14,87 +14,12 @@ cargo check --profile ci --workspace --all-targets --all-features # type-check (
1414
cargo test -p <crate> # test a specific crate
1515
```
1616

17-
Clippy is configured with `pedantic = deny`. New code must pass clippy and fmt before committing.
18-
19-
### ArenaBuddy desktop app
20-
21-
```bash
22-
dx serve --platform desktop # run in dev mode
23-
dx bundle --release --package arenabuddy # release build
24-
```
25-
26-
Requires the Dioxus CLI (`cargo binstall dioxus-cli --version 0.7.3`).
27-
28-
### ArenaBuddy server
29-
30-
```bash
31-
cargo run -p arenabuddy_server # run gRPC server locally
32-
# or via Docker Compose:
33-
docker compose -f arenabuddy/server/docker-compose.yml up
34-
```
35-
36-
### ArenaBuddy CLI
37-
38-
```bash
39-
cargo run -p arenabuddy_cli -- --help
40-
cargo run -p arenabuddy_cli -- parse --player-log /path/to/Player.log
41-
cargo run -p arenabuddy_cli -- scrape
42-
```
43-
44-
### Bevy games / other projects
45-
46-
```bash
47-
cargo run --release -p baseball
48-
cargo run --release -p twotris
49-
cargo run --release -p life
50-
dx serve --platform web --package gsazure
51-
dx serve --platform web --package christmas
52-
```
53-
54-
## Architecture
55-
56-
### Workspace layout
57-
58-
```
59-
arenabuddy/
60-
core/ – domain models, protobuf definitions, card DB (arenabuddy_core)
61-
data/ – SQLx/PostgreSQL storage layer (arenabuddy_data)
62-
cli/ – log parser + card scraper CLI (arenabuddy_cli)
63-
arenabuddy/– Dioxus desktop UI
64-
server/ – Tonic gRPC backend (arenabuddy_server)
65-
baseball/ – Bevy baseball game + rules engine
66-
twotris/ – Bevy Tetris clone
67-
life/ – Bevy Game of Life
68-
gsazure/ – Dioxus personal portfolio (web-only)
69-
christmas/ – Dioxus fullstack drawing app
70-
sports/ – BaseballRef scraper and analysis tools
71-
lib/
72-
start/ – Dioxus app initialization helper
73-
tracingx/ – tracing-subscriber wrapper
74-
multimap/ – generic multi-value map
75-
```
76-
77-
### ArenaBuddy data flow
78-
79-
Desktop UI (Dioxus) → gRPC (Tonic) → `arenabuddy_server` → SQLx → PostgreSQL
80-
81-
`arenabuddy_core` owns all shared types and the protobuf service definitions (`arenabuddy/core/proto/`). Generated gRPC code is produced at build time via `build.rs` using `tonic-prost-build`. The server also exposes an HTTP endpoint (port 8080) alongside gRPC (port 50051).
82-
83-
Authentication uses JWT; Google Sheets sync uses OAuth2 (`yup-oauth2`).
84-
85-
### Build profiles
86-
87-
- `dev``opt-level=1` for your code, `opt-level=3` for all deps (fast iteration locally)
88-
- `ci` – inherits `dev` without the dep optimization overrides (faster CI builds)
89-
- `release` – full `opt-level=3` + LTO
90-
91-
Always use `--profile ci` in CI scripts.
17+
New code must pass clippy and fmt before committing.
9218

9319
### Workspace lints
9420

95-
- `unsafe_code = "forbid"` across the workspace
96-
- `clippy::pedantic = "deny"` — exceptions: `missing_errors_doc`, `module_name_repetitions`, `must_use_candidate`
21+
maintained in Cargo.toml
9722

9823
### Rust edition
9924

100-
Edition 2024, `rust-version = "1.93"`. `rustfmt` uses nightly only features and is configured for 120-character line width with grouped imports (`rustfmt.toml`).
25+
maintained in Cargo.toml

0 commit comments

Comments
 (0)