Bump rust edition & reformat

This commit is contained in:
Andras Schmelczer 2025-01-07 22:25:59 +00:00
parent 13d5b35d1a
commit f4a87d073a
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
15 changed files with 44 additions and 45 deletions

View file

@ -1,19 +1,17 @@
use anyhow::Context as _;
use axum::{
extract::{Path, State},
Json,
};
use axum::extract::{Path, State};
use axum_extra::{
headers::{authorization::Bearer, Authorization},
TypedHeader,
headers::{Authorization, authorization::Bearer},
};
use axum_jsonschema::Json;
use schemars::JsonSchema;
use serde::Deserialize;
use super::{app_state::AppState, auth::auth, requests::DeleteDocumentVersion};
use crate::{
database::models::{DocumentId, StoredDocumentVersion, VaultId},
errors::{server_error, SyncServerError},
errors::{SyncServerError, server_error},
utils::sanitize_path,
};