Run rustfmt
This commit is contained in:
parent
ef43275561
commit
4119956810
7 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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")]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pub mod index;
|
pub mod art;
|
||||||
pub mod queue;
|
|
||||||
pub mod player;
|
|
||||||
pub mod browser;
|
pub mod browser;
|
||||||
pub mod art;
|
pub mod index;
|
||||||
|
pub mod player;
|
||||||
|
pub mod queue;
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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")]
|
||||||
|
|
Loading…
Reference in a new issue