replace thiserror with snauf and poem with axum + utoipa

This commit is contained in:
Sebastian Hugentobler 2025-07-02 21:47:56 +02:00
parent b4a0aadef9
commit c067088a32
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
31 changed files with 223 additions and 317 deletions

View file

@ -1,10 +1,11 @@
//! Author data.
use super::pagination::{HasPrevOrMoreError, Pagination, PaginationError, SortOrder};
use rusqlite::{Connection, Row, named_params};
use serde::Serialize;
use snafu::{ResultExt, Snafu};
use super::pagination::{HasPrevOrMoreError, Pagination, PaginationError, SortOrder};
/// Author in calibre.
#[derive(Debug, Clone, Serialize)]
pub struct Author {