diff --git a/bathbot/Cargo.toml b/bathbot/Cargo.toml index 553973b7..9304ab47 100644 --- a/bathbot/Cargo.toml +++ b/bathbot/Cargo.toml @@ -65,7 +65,7 @@ twilight-standby = { workspace = true } url = { version = "2.4", default-features = false } [features] -default = ["full"] +default = [] full = ["global_slash", "matchlive", "notify_osutrack", "osutracking", "server", "twitch", "twitchtracking"] global_slash = [] diff --git a/bathbot/src/active/impls/single_score.rs b/bathbot/src/active/impls/single_score.rs index eeed3872..00c8825a 100644 --- a/bathbot/src/active/impls/single_score.rs +++ b/bathbot/src/active/impls/single_score.rs @@ -796,6 +796,8 @@ fn apply_settings( .checked_sub(1) .and_then(|idx| settings.values.get(idx)); + // A little more readable this way + #[allow(clippy::nonminimal_bool)] if !(ValueKind::from_setting(last) == ValueKind::MapRankedDate && data.map.ranked_date().is_none()) && !(ValueKind::from_setting(last) == ValueKind::Ratio && hide_ratio())