Run rustfmt

This commit is contained in:
Sijmen 2023-12-23 06:16:59 +01:00
parent ef43275561
commit 4119956810
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
7 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
mod crate_version;
mod mpd;
mod routes;
mod crate_version;
async fn post_play(_req: tide::Request<()>) -> tide::Result {
let mut mpd = mpd::get_instance().await;

View File

@ -1,6 +1,6 @@
use serde::Deserialize;
use crate::mpd;
use percent_encoding::percent_decode_str;
use serde::Deserialize;
#[derive(Deserialize, Default)]
#[serde(default)]

View File

@ -1,7 +1,7 @@
use askama::Template;
use serde::Deserialize;
use crate::mpd;
use askama::Template;
use percent_encoding::percent_decode_str;
use serde::Deserialize;
use std::path::Path;
#[derive(Template)]

View File

@ -1,6 +1,6 @@
use crate::crate_version;
use askama::Template;
use serde::Deserialize;
use crate::crate_version;
#[derive(Template)]
#[template(path = "index.html")]

View File

@ -1,5 +1,5 @@
pub mod index;
pub mod queue;
pub mod player;
pub mod browser;
pub mod art;
pub mod browser;
pub mod index;
pub mod player;
pub mod queue;

View File

@ -1,5 +1,5 @@
use askama::Template;
use crate::mpd;
use askama::Template;
use std::collections::HashMap;
#[derive(Template)]

View File

@ -1,7 +1,7 @@
use askama::Template;
use crate::mpd;
use serde::Deserialize;
use askama::Template;
use percent_encoding::percent_decode_str;
use serde::Deserialize;
#[derive(Template)]
#[template(path = "queue.html")]