mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Move stdext to ext::try_err
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::ext::json::ToJson;
|
||||
use crate::gettext;
|
||||
use crate::stdext::TryErr;
|
||||
use crate::ext::try_err::TryErr;
|
||||
use json::JsonValue;
|
||||
use regex::Regex;
|
||||
use std::cmp::PartialEq;
|
||||
|
||||
@@ -4,4 +4,5 @@ pub mod flagset;
|
||||
pub mod json;
|
||||
#[cfg(any(feature = "exif", feature = "avdict", feature = "ugoira"))]
|
||||
pub mod rawhandle;
|
||||
pub mod try_err;
|
||||
pub mod use_or_not;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::ext::json::FromJson;
|
||||
use crate::ext::json::ToJson;
|
||||
use crate::gettext;
|
||||
use crate::stdext::TryErr;
|
||||
use crate::ext::try_err::TryErr;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, PartialOrd)]
|
||||
|
||||
@@ -51,7 +51,6 @@ mod pixiv_web;
|
||||
mod retry_interval;
|
||||
mod settings;
|
||||
mod settings_list;
|
||||
mod stdext;
|
||||
#[cfg(feature = "ugoira")]
|
||||
mod ugoira;
|
||||
mod utils;
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::ext::cstr::ToCStrError;
|
||||
use crate::ext::json::ToJson;
|
||||
use crate::ext::rawhandle::ToRawHandle;
|
||||
use crate::gettext;
|
||||
use crate::stdext::TryErr;
|
||||
use crate::ext::try_err::TryErr;
|
||||
use std::convert::AsRef;
|
||||
use std::default::Default;
|
||||
use std::ffi::CStr;
|
||||
|
||||
Reference in New Issue
Block a user