add server feature

This commit is contained in:
2022-07-07 04:58:35 +00:00
committed by GitHub
parent 360b57aec6
commit f78e7a1538
10 changed files with 214 additions and 10 deletions

View File

@@ -10,6 +10,8 @@ pub enum PixivDownloaderError {
JoinError(JoinError),
#[cfg(feature = "ugoira")]
UgoiraError(UgoiraError),
#[cfg(feature = "server")]
Hyper(hyper::Error),
}
impl From<&str> for PixivDownloaderError {