chore: shut many unused warning with one smple trick

This commit is contained in:
əlemi 2024-05-03 06:17:26 +02:00
parent dd0c354aed
commit 6cb45bd5f0
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
mod server; pub mod server; // TODO there are some methods that i dont use yet, make it public so that ra shuts up
mod model; mod model;
mod routes; mod routes;
mod cli; mod cli;

View file

@ -5,7 +5,7 @@ use base64::Engine;
use reqwest::{header::{ACCEPT, CONTENT_TYPE, USER_AGENT}, Method, Response}; use reqwest::{header::{ACCEPT, CONTENT_TYPE, USER_AGENT}, Method, Response};
use sea_orm::{sea_query::Expr, ColumnTrait, EntityTrait, IntoActiveModel, QueryFilter}; use sea_orm::{sea_query::Expr, ColumnTrait, EntityTrait, IntoActiveModel, QueryFilter};
use crate::{errors::UpubError, model, VERSION}; use crate::{model, VERSION};
use super::{auth::HttpSignature, Context}; use super::{auth::HttpSignature, Context};