style(tauri): drop redundant use super::*; imports

Five lib_commands submodules either had `use super::*;` duplicated
during the split (core.rs, offline.rs, mini.rs — leftover line 3) or
didn't reference the parent scope at all (navidrome.rs, bandsintown.rs).
Removing them silences all five `unused import` warnings; cargo check
is now warning-free.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-05-02 12:20:00 +02:00
committed by cucadmuh
parent cfeec22c82
commit 9cc74a7f88
5 changed files with 0 additions and 10 deletions
@@ -1,7 +1,5 @@
use super::*;
use super::*;
#[tauri::command]
pub(crate) fn greet(name: &str) -> String {
format!("Hello, {}!", name)
@@ -1,5 +1,3 @@
use super::*;
/// Authenticate with Navidrome's own REST API and return a Bearer token.
pub(crate) async fn navidrome_token(server_url: &str, username: &str, password: &str) -> Result<String, String> {
let client = reqwest::Client::new();
-2
View File
@@ -1,7 +1,5 @@
use super::*;
use super::*;
// ─── Offline Track Cache ──────────────────────────────────────────────────────
/// Streams an HTTP response body directly to `dest_path` in small chunks.
@@ -1,5 +1,3 @@
use super::*;
// ── Bandsintown ──────────────────────────────────────────────────────────────
// Public REST API: https://rest.bandsintown.com/artists/{name}/events?app_id=…
// Bandsintown whitelists app IDs — arbitrary strings now return 403 Forbidden.
-2
View File
@@ -1,7 +1,5 @@
use super::*;
use super::*;
// ── Mini Player window ──────────────────────────────────────────────────────
// Secondary always-on-top window with minimal playback controls. Uses the
// same frontend bundle as the main window; disambiguated by window label