tangled
alpha
login
or
join now
clxxiii.dev
/
osu-bingo
0
fork
atom
Two teams try and fill in any horizontal, vertical, or diagonal line on a bingo board by playing maps on osu!
osu.bingo
osu
0
fork
atom
overview
issues
pulls
pipelines
restructure project
clxxiii
2 weeks ago
32276c2b
83d09e7c
+28
-190
45 changed files
expand all
collapse all
unified
split
Cargo.lock
Cargo.toml
src
api
Cargo.toml
database.rs
lib.rs
main.rs
migrations
20250802014343_init.sql
responses.rs
routes.rs
schema
bingo_game.rs
bingo_square.rs
chat.rs
game_user.rs
map.rs
map_in_pool.rs
map_stats.rs
mappool.rs
root
mod.rs
mutation.rs
query.rs
scalars.rs
score.rs
template.rs
time_event.rs
user.rs
schema.rs
auth
Cargo.toml
database
id.rs
structs.rs
database.rs
lib.rs
main.rs
migrations
20250924200340_init.sql
routes
jwt.rs
osu_oauth.rs
routes.rs
bingolib
Cargo.toml
lib.rs
query_params.rs
structs
mod.rs
oauth_token.rs
gameservice
Cargo.toml
functions
fetch_user_scores.rs
functions.rs
main.rs
+3
-181
Cargo.lock
···
77
77
]
78
78
79
79
[[package]]
80
80
-
name = "anyhow"
81
81
-
version = "1.0.102"
82
82
-
source = "registry+https://github.com/rust-lang/crates.io-index"
83
83
-
checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
84
84
-
85
85
-
[[package]]
86
80
name = "async-trait"
87
81
version = "0.1.89"
88
82
source = "registry+https://github.com/rust-lang/crates.io-index"
···
225
219
checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
226
220
227
221
[[package]]
228
228
-
name = "bingo-api"
222
222
+
name = "bingo_api"
229
223
version = "0.1.0"
230
224
dependencies = [
231
225
"axum",
···
243
237
]
244
238
245
239
[[package]]
246
246
-
name = "bingo-auth"
240
240
+
name = "bingo_auth"
247
241
version = "0.1.0"
248
242
dependencies = [
249
243
"axum",
···
985
979
"r-efi",
986
980
"wasip2",
987
981
"wasm-bindgen",
988
988
-
]
989
989
-
990
990
-
[[package]]
991
991
-
name = "getrandom"
992
992
-
version = "0.4.1"
993
993
-
source = "registry+https://github.com/rust-lang/crates.io-index"
994
994
-
checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec"
995
995
-
dependencies = [
996
996
-
"cfg-if",
997
997
-
"libc",
998
998
-
"r-efi",
999
999
-
"wasip2",
1000
1000
-
"wasip3",
1001
982
]
1002
983
1003
984
[[package]]
···
1353
1334
]
1354
1335
1355
1336
[[package]]
1356
1356
-
name = "id-arena"
1357
1357
-
version = "2.3.0"
1358
1358
-
source = "registry+https://github.com/rust-lang/crates.io-index"
1359
1359
-
checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
1360
1360
-
1361
1361
-
[[package]]
1362
1337
name = "idna"
1363
1338
version = "1.1.0"
1364
1339
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1621
1596
"pin-project-lite",
1622
1597
"tokio",
1623
1598
]
1624
1624
-
1625
1625
-
[[package]]
1626
1626
-
name = "leb128fmt"
1627
1627
-
version = "0.1.0"
1628
1628
-
source = "registry+https://github.com/rust-lang/crates.io-index"
1629
1629
-
checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
1630
1599
1631
1600
[[package]]
1632
1601
name = "libc"
···
2117
2086
]
2118
2087
2119
2088
[[package]]
2120
2120
-
name = "prettyplease"
2121
2121
-
version = "0.2.37"
2122
2122
-
source = "registry+https://github.com/rust-lang/crates.io-index"
2123
2123
-
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
2124
2124
-
dependencies = [
2125
2125
-
"proc-macro2",
2126
2126
-
"syn",
2127
2127
-
]
2128
2128
-
2129
2129
-
[[package]]
2130
2089
name = "proc-macro2"
2131
2090
version = "1.0.106"
2132
2091
source = "registry+https://github.com/rust-lang/crates.io-index"
···
2634
2593
]
2635
2594
2636
2595
[[package]]
2637
2637
-
name = "semver"
2638
2638
-
version = "1.0.27"
2639
2639
-
source = "registry+https://github.com/rust-lang/crates.io-index"
2640
2640
-
checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
2641
2641
-
2642
2642
-
[[package]]
2643
2596
name = "serde"
2644
2597
version = "1.0.228"
2645
2598
source = "registry+https://github.com/rust-lang/crates.io-index"
···
3144
3097
checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0"
3145
3098
dependencies = [
3146
3099
"fastrand",
3147
3147
-
"getrandom 0.4.1",
3100
3100
+
"getrandom 0.3.4",
3148
3101
"once_cell",
3149
3102
"rustix",
3150
3103
"windows-sys 0.61.2",
···
3434
3387
checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
3435
3388
3436
3389
[[package]]
3437
3437
-
name = "unicode-xid"
3438
3438
-
version = "0.2.6"
3439
3439
-
source = "registry+https://github.com/rust-lang/crates.io-index"
3440
3440
-
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
3441
3441
-
3442
3442
-
[[package]]
3443
3390
name = "untrusted"
3444
3391
version = "0.7.1"
3445
3392
source = "registry+https://github.com/rust-lang/crates.io-index"
···
3528
3475
]
3529
3476
3530
3477
[[package]]
3531
3531
-
name = "wasip3"
3532
3532
-
version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
3533
3533
-
source = "registry+https://github.com/rust-lang/crates.io-index"
3534
3534
-
checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
3535
3535
-
dependencies = [
3536
3536
-
"wit-bindgen",
3537
3537
-
]
3538
3538
-
3539
3539
-
[[package]]
3540
3478
name = "wasite"
3541
3479
version = "0.1.0"
3542
3480
source = "registry+https://github.com/rust-lang/crates.io-index"
···
3602
3540
]
3603
3541
3604
3542
[[package]]
3605
3605
-
name = "wasm-encoder"
3606
3606
-
version = "0.244.0"
3607
3607
-
source = "registry+https://github.com/rust-lang/crates.io-index"
3608
3608
-
checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
3609
3609
-
dependencies = [
3610
3610
-
"leb128fmt",
3611
3611
-
"wasmparser",
3612
3612
-
]
3613
3613
-
3614
3614
-
[[package]]
3615
3615
-
name = "wasm-metadata"
3616
3616
-
version = "0.244.0"
3617
3617
-
source = "registry+https://github.com/rust-lang/crates.io-index"
3618
3618
-
checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
3619
3619
-
dependencies = [
3620
3620
-
"anyhow",
3621
3621
-
"indexmap",
3622
3622
-
"wasm-encoder",
3623
3623
-
"wasmparser",
3624
3624
-
]
3625
3625
-
3626
3626
-
[[package]]
3627
3627
-
name = "wasmparser"
3628
3628
-
version = "0.244.0"
3629
3629
-
source = "registry+https://github.com/rust-lang/crates.io-index"
3630
3630
-
checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
3631
3631
-
dependencies = [
3632
3632
-
"bitflags 2.11.0",
3633
3633
-
"hashbrown 0.15.5",
3634
3634
-
"indexmap",
3635
3635
-
"semver",
3636
3636
-
]
3637
3637
-
3638
3638
-
[[package]]
3639
3543
name = "web-sys"
3640
3544
version = "0.3.91"
3641
3545
source = "registry+https://github.com/rust-lang/crates.io-index"
···
4068
3972
version = "0.51.0"
4069
3973
source = "registry+https://github.com/rust-lang/crates.io-index"
4070
3974
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
4071
4071
-
dependencies = [
4072
4072
-
"wit-bindgen-rust-macro",
4073
4073
-
]
4074
4074
-
4075
4075
-
[[package]]
4076
4076
-
name = "wit-bindgen-core"
4077
4077
-
version = "0.51.0"
4078
4078
-
source = "registry+https://github.com/rust-lang/crates.io-index"
4079
4079
-
checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
4080
4080
-
dependencies = [
4081
4081
-
"anyhow",
4082
4082
-
"heck",
4083
4083
-
"wit-parser",
4084
4084
-
]
4085
4085
-
4086
4086
-
[[package]]
4087
4087
-
name = "wit-bindgen-rust"
4088
4088
-
version = "0.51.0"
4089
4089
-
source = "registry+https://github.com/rust-lang/crates.io-index"
4090
4090
-
checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
4091
4091
-
dependencies = [
4092
4092
-
"anyhow",
4093
4093
-
"heck",
4094
4094
-
"indexmap",
4095
4095
-
"prettyplease",
4096
4096
-
"syn",
4097
4097
-
"wasm-metadata",
4098
4098
-
"wit-bindgen-core",
4099
4099
-
"wit-component",
4100
4100
-
]
4101
4101
-
4102
4102
-
[[package]]
4103
4103
-
name = "wit-bindgen-rust-macro"
4104
4104
-
version = "0.51.0"
4105
4105
-
source = "registry+https://github.com/rust-lang/crates.io-index"
4106
4106
-
checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
4107
4107
-
dependencies = [
4108
4108
-
"anyhow",
4109
4109
-
"prettyplease",
4110
4110
-
"proc-macro2",
4111
4111
-
"quote",
4112
4112
-
"syn",
4113
4113
-
"wit-bindgen-core",
4114
4114
-
"wit-bindgen-rust",
4115
4115
-
]
4116
4116
-
4117
4117
-
[[package]]
4118
4118
-
name = "wit-component"
4119
4119
-
version = "0.244.0"
4120
4120
-
source = "registry+https://github.com/rust-lang/crates.io-index"
4121
4121
-
checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
4122
4122
-
dependencies = [
4123
4123
-
"anyhow",
4124
4124
-
"bitflags 2.11.0",
4125
4125
-
"indexmap",
4126
4126
-
"log",
4127
4127
-
"serde",
4128
4128
-
"serde_derive",
4129
4129
-
"serde_json",
4130
4130
-
"wasm-encoder",
4131
4131
-
"wasm-metadata",
4132
4132
-
"wasmparser",
4133
4133
-
"wit-parser",
4134
4134
-
]
4135
4135
-
4136
4136
-
[[package]]
4137
4137
-
name = "wit-parser"
4138
4138
-
version = "0.244.0"
4139
4139
-
source = "registry+https://github.com/rust-lang/crates.io-index"
4140
4140
-
checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
4141
4141
-
dependencies = [
4142
4142
-
"anyhow",
4143
4143
-
"id-arena",
4144
4144
-
"indexmap",
4145
4145
-
"log",
4146
4146
-
"semver",
4147
4147
-
"serde",
4148
4148
-
"serde_derive",
4149
4149
-
"serde_json",
4150
4150
-
"unicode-xid",
4151
4151
-
"wasmparser",
4152
4152
-
]
4153
3975
4154
3976
[[package]]
4155
3977
name = "writeable"
+1
-6
Cargo.toml
···
1
1
[workspace]
2
2
resolver = "1"
3
3
-
members = [
4
4
-
"api",
5
5
-
"auth",
6
6
-
"bingolib",
7
7
-
"gameservice"
8
8
-
]
3
3
+
members = ["src/*"]
9
4
10
5
[workspace.package]
11
6
version = "0.1.0"
+8
-1
api/Cargo.toml
src/api/Cargo.toml
···
1
1
[package]
2
2
-
name = "bingo-api"
2
2
+
name = "bingo_api"
3
3
version.workspace = true
4
4
edition = "2024"
5
5
+
6
6
+
[lib]
7
7
+
path = "lib.rs"
8
8
+
9
9
+
[[bin]]
10
10
+
name = "api"
11
11
+
path = "main.rs"
5
12
6
13
[dependencies]
7
14
axum = "0.8.4"
api/migrations/20250802014343_init.sql
src/api/migrations/20250802014343_init.sql
api/src/database.rs
src/api/database.rs
api/src/lib.rs
src/api/lib.rs
api/src/main.rs
src/api/main.rs
api/src/responses.rs
src/api/responses.rs
api/src/routes.rs
src/api/routes.rs
api/src/schema.rs
src/api/schema.rs
api/src/schema/bingo_game.rs
src/api/schema/bingo_game.rs
api/src/schema/bingo_square.rs
src/api/schema/bingo_square.rs
api/src/schema/chat.rs
src/api/schema/chat.rs
api/src/schema/game_user.rs
src/api/schema/game_user.rs
api/src/schema/map.rs
src/api/schema/map.rs
api/src/schema/map_in_pool.rs
src/api/schema/map_in_pool.rs
api/src/schema/map_stats.rs
src/api/schema/map_stats.rs
api/src/schema/mappool.rs
src/api/schema/mappool.rs
api/src/schema/root/mod.rs
src/api/schema/root/mod.rs
api/src/schema/root/mutation.rs
src/api/schema/root/mutation.rs
api/src/schema/root/query.rs
src/api/schema/root/query.rs
api/src/schema/scalars.rs
src/api/schema/scalars.rs
api/src/schema/score.rs
src/api/schema/score.rs
api/src/schema/template.rs
src/api/schema/template.rs
api/src/schema/time_event.rs
src/api/schema/time_event.rs
api/src/schema/user.rs
src/api/schema/user.rs
+8
-1
auth/Cargo.toml
src/auth/Cargo.toml
···
1
1
[package]
2
2
-
name = "bingo-auth"
2
2
+
name = "bingo_auth"
3
3
version.workspace = true
4
4
edition = "2024"
5
5
+
6
6
+
[lib]
7
7
+
path = "lib.rs"
8
8
+
9
9
+
[[bin]]
10
10
+
name = "auth"
11
11
+
path = "main.rs"
5
12
6
13
[dependencies]
7
14
axum = "0.8.4"
auth/migrations/20250924200340_init.sql
src/auth/migrations/20250924200340_init.sql
auth/src/database.rs
src/auth/database.rs
auth/src/database/id.rs
src/auth/database/id.rs
auth/src/database/structs.rs
src/auth/database/structs.rs
auth/src/lib.rs
src/auth/lib.rs
auth/src/main.rs
src/auth/main.rs
auth/src/routes.rs
src/auth/routes.rs
auth/src/routes/jwt.rs
src/auth/routes/jwt.rs
auth/src/routes/osu_oauth.rs
src/auth/routes/osu_oauth.rs
+3
bingolib/Cargo.toml
src/bingolib/Cargo.toml
···
3
3
version.workspace = true
4
4
edition = "2024"
5
5
6
6
+
[lib]
7
7
+
path = "lib.rs"
8
8
+
6
9
[dependencies]
7
10
chrono = "0.4.44"
bingolib/src/lib.rs
src/bingolib/lib.rs
bingolib/src/query_params.rs
src/bingolib/query_params.rs
bingolib/src/structs/mod.rs
src/bingolib/structs/mod.rs
bingolib/src/structs/oauth_token.rs
src/bingolib/structs/oauth_token.rs
+5
-1
gameservice/Cargo.toml
src/gameservice/Cargo.toml
···
1
1
[package]
2
2
-
name = "gameservice"
2
2
+
name = "bingo_gameservice"
3
3
version.workspace = true
4
4
edition = "2024"
5
5
+
6
6
+
[[bin]]
7
7
+
name = "gameservice"
8
8
+
path = "main.rs"
5
9
6
10
[dependencies]
7
11
bingolib = { path = "../bingolib" }
gameservice/src/functions.rs
src/gameservice/functions.rs
gameservice/src/functions/fetch_user_scores.rs
src/gameservice/functions/fetch_user_scores.rs
gameservice/src/main.rs
src/gameservice/main.rs