1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
cre8-app-grid grid cargo crate
GridApp — two-player grid games (shatranj, makruk, xiangqi, small chesses, checkers, tafl, Go, Othello, Hex and more) as runtime games: seats, clocks, a Game-backed record that replays, Game's rated pools, a deterministic solver, and server-rendered catalog, lobby and match pages.
11workspace deps
1direct dependents
8transitive dependents
123calls out
0calls in
165call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 202 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| connectsrc/connection.rs:89 | fn | 17 | 12 | 2 | 14 | 3.7 | |
| BoardView::hexessrc/view/board.rs:42 | method | 3 | 1 | 6 | 0 | 3.3 | |
| callsrc/flow_tests.rs:30 | fn | 3 | 1 | 11 | 1 | 3.2 | |
| guestActorsrc/view/grid_play.js:22 | fn | 7 | 2 | 2 | 0 | 2.4 | |
| GridMatch::is_completesrc/model.rs:142 | method | 3 | 1 | 15 | 0 | 2.1 | |
| textsrc/connection.rs:57 | fn | 3 | 1 | 7 | 0 | 2.1 | |
| board_svgsrc/view/board.rs:82 | fn | 52 | 11 | 7 | 12 | 2 | |
| memory_contextsrc/flow_tests.rs:15 | fn | 3 | 1 | 12 | 1 | 1.9 | |
| BoardView::centresrc/view/board.rs:62 | method | 13 | 3 | 5 | 1 | 1.8 | |
| paintNotesrc/view/grid_play.js:73 | fn | 12 | 4 | 2 | 0 | 1.8 | |
| actorsrc/view/grid_play.js:40 | fn | 1 | 3 | 3 | 1 | 1.6 | |
| activesrc/view/grid_play.js:48 | fn | 1 | 1 | 5 | 0 | 1.5 | |
| sessionsrc/flow_tests.rs:26 | fn | 3 | 1 | 12 | 1 | 1.5 | |
| holdssrc/view/grid_play.js:47 | fn | 1 | 2 | 6 | 2 | 1.5 | |
| seatsrc/view/grid_play.js:46 | fn | 1 | 3 | 4 | 0 | 1.5 | |
| refusedsrc/connection.rs:61 | fn | 3 | 1 | 10 | 0 | 1.4 | |
| recentsrc/store.rs:93 | fn | 40 | 4 | 4 | 4 | 1.4 | |
| Seat::is_opensrc/model.rs:42 | method | 3 | 1 | 6 | 0 | 1.4 | |
| game_pathsrc/view/mod.rs:73 | fn | 3 | 1 | 5 | 0 | 1.3 | |
| createsrc/flow_tests.rs:34 | fn | 6 | 1 | 9 | 1 | 1.3 | |
| ensure_tablessrc/store.rs:35 | fn | 3 | 1 | 3 | 1 | 1.3 | |
| side_namesrc/view/play.rs:163 | fn | 3 | 1 | 3 | 0 | 1.3 | |
| messagesrc/view/grid_play.js:85 | fn | 4 | 2 | 4 | 1 | 1.3 | |
| startsrc/view/grid_lobby.js:51 | fn | 26 | 19 | 1 | 3 | 1.3 | |
| Clock::newsrc/model.rs:69 | method | 9 | 1 | 4 | 0 | 1.3 | |
| isMesrc/view/grid_play.js:42 | fn | 4 | 3 | 2 | 2 | 1.2 | |
| arena_htmlsrc/view/play.rs:247 | fn | 87 | 11 | 5 | 10 | 1.2 | |
| Seat::is_solversrc/model.rs:46 | method | 3 | 1 | 7 | 0 | 1.2 | |
| postsrc/view/grid_play.js:175 | fn | 19 | 6 | 3 | 4 | 1.2 | |
| Seat::is_personsrc/model.rs:50 | method | 3 | 1 | 4 | 0 | 1.2 | |
| canonicalsrc/connection.rs:85 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| samplesrc/view/play.rs:398 | fn | 15 | 1 | 4 | 5 | 1.2 | |
| GridMatch::rulessrc/model.rs:138 | method | 3 | 1 | 6 | 1 | 1.1 | |
| getsrc/store.rs:69 | fn | 22 | 1 | 6 | 4 | 1.1 | |
| heldsrc/session_lock.rs:14 | fn | 4 | 1 | 2 | 0 | 1.1 | |
| Seat::personsrc/model.rs:30 | method | 3 | 1 | 6 | 0 | 1.1 | |
| decoratesrc/view/grid_play.js:94 | fn | 28 | 18 | 4 | 8 | 1.1 | |
| sendsrc/view/grid_play.js:195 | fn | 5 | 5 | 3 | 3 | 1.1 | |
| view_patchsrc/view/play.rs:337 | fn | 35 | 6 | 1 | 8 | 1.1 | |
| registersrc/matchmaking.rs:84 | fn | 8 | 2 | 4 | 3 | 1.1 |
Outside the workspace
anyhow serde serde_json