Drop old homegrown Mods for rosu_v2::Mods, implement rate change support (#52)

* Move mods to intermode wrapper

* Update rust to 1.79

* Move mods from homebrewed impl to rosu

* Display mod details

* Take clock-rate into account when calculating pp

* Allow specifying rate in mods input

* Formatting

* Fix clippy
This commit is contained in:
Natsu Kagami 2024-08-24 21:21:01 +00:00 committed by GitHub
parent 7565a6e5c5
commit 735b382102
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 788 additions and 443 deletions

View file

@ -142,7 +142,6 @@ impl AnnouncerHandler {
}
pub fn run(self, client: &Client) -> AnnouncerRunner {
AnnouncerRunner {
cache_http: CacheAndHttp::from_client(client),
data: client.data.clone(),

View file

@ -39,8 +39,6 @@ pub async fn setup_prelude(
// Set up the SQL client.
data.insert::<crate::SQLClient>(sql_pool.clone());
Env {
http: http_client,
sql: sql_pool,