Skip to content

Commit 0e021c6

Browse files
committed
switch to main dash rs
the servers correctly support 2.2 now so the fork is unnecessary
1 parent be14697 commit 0e021c6

10 files changed

Lines changed: 139 additions & 189 deletions

File tree

Cargo.lock

Lines changed: 123 additions & 178 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pointercrate-core-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rocket = {version = "0.5.1", features = ["json"]}
1212
pointercrate-core = {path = "../pointercrate-core"}
1313
pointercrate-core-pages = {path = "../pointercrate-core-pages"}
1414
serde_json = "1.0.118"
15-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
15+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
1616
log = "0.4.22"
1717
serde_urlencoded = "0.7.0"
1818
maud = "0.26.0"

pointercrate-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ edition.workspace = true
99
[dependencies]
1010
serde = "1.0.203"
1111
derive_more = "0.99.18"
12-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate"] }
12+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate"] }
1313
log = "0.4.22"
1414
chrono = {version = "0.4.38", features = ["serde"]}

pointercrate-demonlist-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pointercrate-core-pages = {path = "../pointercrate-core-pages"}
1616
pointercrate-user = {path = "../pointercrate-user"}
1717
pointercrate-user-api = {path = "../pointercrate-user-api"}
1818
pointercrate-integrate = {path = "../pointercrate-integrate"}
19-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
19+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
2020
serde_json = "1.0.118"
2121
log = "0.4.22"
2222
serde_urlencoded = "0.7.0"

pointercrate-demonlist/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition.workspace = true
88

99
[dependencies]
1010
serde = "1.0.203"
11-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
11+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
1212
derive_more = "0.99.18"
1313
pointercrate-core = {path = "../pointercrate-core"}
1414
pointercrate-user = {path = "../pointercrate-user"}

pointercrate-integrate/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition.workspace = true
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
10+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
1111
bincode = "1.3.1"
1212
reqwest = "0.12.*"
1313
futures = "0.3.8"
@@ -20,5 +20,5 @@ governor = "0.6.3"
2020
nonzero_ext = "0.3.0"
2121

2222
[dependencies.dash-rs]
23-
git = "https://github.com/qimiko/dash-rs"
24-
rev = "21b8e86aa3ffe9ba4ba4bfd147b94abf2afa50ef"
23+
git = "https://github.com/stadust/dash-rs"
24+
rev = "397c4730d7789668bd6a8ab5a13ec9b826cd3b43"

pointercrate-integrate/src/gd.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ use dash_rs::{
55
song::{MainSong, NewgroundsSong},
66
GameVersion,
77
},
8-
request::level::{LevelRequest, LevelRequestType, LevelsRequest, SearchFilters},
8+
request::{
9+
level::{LevelRequest, LevelRequestType, LevelsRequest, SearchFilters},
10+
GD_SERVER_ENDPOINT_BASE_URL
11+
},
912
response::{parse_download_gj_level_response, parse_get_gj_levels_response},
1013
};
1114
use log::{error, trace};
@@ -144,6 +147,8 @@ pub struct GeometryDashConnector {
144147

145148
impl GeometryDashConnector {
146149
pub fn new(pool: Pool<Postgres>) -> Self {
150+
GD_SERVER_ENDPOINT_BASE_URL.get_or_init(|| "https://19gdps.com/gdapi/".to_string());
151+
147152
GeometryDashConnector {
148153
pool,
149154
http_client: Client::new(),

pointercrate-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pointercrate-user = {path = "../pointercrate-user"}
1515
pointercrate-user-api = {path = "../pointercrate-user-api"}
1616
pointercrate-user-pages = {path = "../pointercrate-user-pages"}
1717
serde = "1.0.203"
18-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
18+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
1919
rocket = "0.5.1"
2020
serde_json = "1.0.118"
2121
dotenv = "0.15.0"

pointercrate-user-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition.workspace = true
88

99
[dependencies]
1010
rocket = {version = "0.5.1", features = ["json"]}
11-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
11+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono", "migrate" ] }
1212
pointercrate-user = {path = "../pointercrate-user"}
1313
pointercrate-user-pages = {path = "../pointercrate-user-pages"}
1414
pointercrate-core = {path = "../pointercrate-core"}

pointercrate-user/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition.workspace = true
1010
pointercrate-core = {path = "../pointercrate-core"}
1111
serde = "1.0.203"
1212
derive_more = "0.99.18"
13-
sqlx = { version = "0.7", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
13+
sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio-native-tls", "macros", "postgres", "chrono" ] }
1414
jsonwebtoken = "9.3.0"
1515
log = "0.4.22"
1616
futures = "0.3.8"

0 commit comments

Comments
 (0)