Skip to content

Commit 5c79ff3

Browse files
committed
Remove splits.io Support
As explained [here](https://twos.dev/splitsio.html), splits.io will shut down at the end of the month. The website is already not working properly anymore, so it's time to remove support for it.
1 parent 5fede3a commit 5c79ff3

File tree

10 files changed

+11
-546
lines changed

10 files changed

+11
-546
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ tiny-skia-path = { version = "0.11.1", default-features = false, optional = true
8585
# SVG Rendering
8686
foldhash = { version = "0.1.3", default-features = false, optional = true }
8787

88-
# Networking
89-
splits-io-api = { version = "0.4.0", optional = true }
90-
9188
# Auto Splitting
9289
livesplit-auto-splitting = { path = "crates/livesplit-auto-splitting", version = "0.1.0", optional = true }
9390
arc-swap = { version = "1.7.1", optional = true }
@@ -185,7 +182,6 @@ wasm-web = [
185182
"wasm-bindgen",
186183
"web-sys",
187184
]
188-
networking = ["std", "splits-io-api"]
189185
auto-splitting = ["std", "livesplit-auto-splitting", "arc-swap", "log"]
190186

191187
[lib]

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ The documentation is available here:
3232
- [LiveSplit One OBS Plugin](https://github.com/LiveSplit/obs-livesplit-one)
3333
- [chronos Terminal Timer](https://github.com/DarkRTA/chronos)
3434
- [annelid](https://github.com/dagit/annelid)
35-
- [splits.io (Parsing)](https://splits.io)
3635

3736
## Build Instructions
3837

src/networking/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
//! The networking module provides functionality to communicate with various
2-
//! speedrunning related websites, such as Splits.io to upload and download runs
3-
//! and Speedrun.com to query and submit to the leaderboards of most games. The
4-
//! module is optional and is not compiled in by default.
2+
//! speedrunning related websites, such as Speedrun.com to query and submit to
3+
//! the leaderboards of most games. The module is optional and is not compiled
4+
//! in by default.
55
66
#[cfg(feature = "std")]
77
pub mod server_protocol;
8-
#[cfg(feature = "networking")]
9-
pub mod splits_io;

src/networking/splits_io.rs

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/run/parser/composite.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
//! ```
2929
3030
use super::{
31-
face_split, flitter, livesplit, llanfair, llanfair_gered, portal2_live_timer, shit_split,
32-
source_live_timer, speedrun_igt, splits_io, splitterino, splitterz, splitty,
33-
time_split_tracker, urn, wsplit, TimerKind,
31+
TimerKind, face_split, flitter, livesplit, llanfair, llanfair_gered, portal2_live_timer,
32+
shit_split, source_live_timer, speedrun_igt, splitterino, splitterz, splitty,
33+
time_split_tracker, urn, wsplit,
3434
};
35-
use crate::{platform::path::Path, Run};
35+
use crate::{Run, platform::path::Path};
3636
use core::{result::Result as StdResult, str};
3737

3838
/// The Error type for splits files that couldn't be parsed by the Composite
@@ -135,10 +135,6 @@ pub fn parse<'source>(
135135
return Ok(parsed(run, TimerKind::LlanfairGered));
136136
}
137137

138-
if let Ok((run, timer)) = splits_io::parse(source) {
139-
return Ok(parsed(run, TimerKind::Generic(timer)));
140-
}
141-
142138
// Splitterino, SourceLiveTimer, Flitter, and SpeedRunIGT need to be
143139
// before Urn because of a false positive due to the nature of parsing
144140
// JSON files.

src/run/parser/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pub mod portal2_live_timer;
3838
pub mod shit_split;
3939
pub mod source_live_timer;
4040
pub mod speedrun_igt;
41-
pub mod splits_io;
4241
pub mod splitterino;
4342
pub mod splitterz;
4443
pub mod splitty;

0 commit comments

Comments
 (0)