Run rustfmt
This commit is contained in:
parent
ef43275561
commit
4119956810
|
@ -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;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use serde::Deserialize;
|
||||
use crate::mpd;
|
||||
use percent_encoding::percent_decode_str;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
#[serde(default)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::crate_version;
|
||||
use askama::Template;
|
||||
use serde::Deserialize;
|
||||
use crate::crate_version;
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "index.html")]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use askama::Template;
|
||||
use crate::mpd;
|
||||
use askama::Template;
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(Template)]
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in New Issue