removed legacy code and clippy fixes + fixed ci
Release / Build and Release (push) Failing after 38s

This commit is contained in:
2026-04-01 14:01:16 +02:00
parent bd18bbf866
commit 7a8f70938e
9 changed files with 22 additions and 61 deletions
+1 -12
View File
@@ -1,6 +1,6 @@
use serde::Serialize;
#[derive(Serialize)]
#[derive(Serialize, Default)]
pub struct WaybarOutput {
pub text: String,
#[serde(skip_serializing_if = "Option::is_none")]
@@ -11,17 +11,6 @@ pub struct WaybarOutput {
pub percentage: Option<u8>,
}
impl Default for WaybarOutput {
fn default() -> Self {
Self {
text: String::new(),
tooltip: None,
class: None,
percentage: None,
}
}
}
#[cfg(test)]
mod tests {
use super::*;