mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-24 16:17:44 +00:00
Fix more warnings on login
This commit is contained in:
parent
de2dd65167
commit
7c30132e70
1 changed files with 5 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
|
|
||||||
use axum::{Form, Json, Router, routing::get};
|
use axum::{Form, Router, routing::get};
|
||||||
use axum::extract::Query;
|
use axum::extract::Query;
|
||||||
use axum::response::Html;
|
use axum::response::Html;
|
||||||
use axum::routing::post;
|
use axum::routing::post;
|
||||||
use rand::distributions::Alphanumeric;
|
use rand::distributions::Alphanumeric;
|
||||||
use rand::{random, Rng};
|
use rand::Rng;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Deserialize;
|
||||||
use kawari::config::Config;
|
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
|
#[allow(dead_code)]
|
||||||
struct Params {
|
struct Params {
|
||||||
lng: String,
|
lng: String,
|
||||||
rgn: String,
|
rgn: String,
|
||||||
|
@ -24,7 +24,7 @@ async fn top(Query(params): Query<Params>) -> Html<&'static str> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code, non_snake_case)]
|
||||||
struct Input {
|
struct Input {
|
||||||
_STORED_: String,
|
_STORED_: String,
|
||||||
sqexid: String,
|
sqexid: String,
|
||||||
|
|
Loading…
Add table
Reference in a new issue