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 mpd;
mod routes; mod routes;
mod crate_version;
async fn post_play(_req: tide::Request<()>) -> tide::Result { async fn post_play(_req: tide::Request<()>) -> tide::Result {
let mut mpd = mpd::get_instance().await; let mut mpd = mpd::get_instance().await;

View file

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

View file

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

View file

@ -1,6 +1,6 @@
use crate::crate_version;
use askama::Template; use askama::Template;
use serde::Deserialize; use serde::Deserialize;
use crate::crate_version;
#[derive(Template)] #[derive(Template)]
#[template(path = "index.html")] #[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 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 crate::mpd;
use askama::Template;
use std::collections::HashMap; use std::collections::HashMap;
#[derive(Template)] #[derive(Template)]

View file

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