Move stdext to ext::try_err

This commit is contained in:
2022-05-13 12:25:32 +08:00
parent 234fd90580
commit 3868d69d23
6 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;

View File

View File

@@ -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)]

View File

@@ -51,7 +51,6 @@ mod pixiv_web;
mod retry_interval;
mod settings;
mod settings_list;
mod stdext;
#[cfg(feature = "ugoira")]
mod ugoira;
mod utils;

View File

@@ -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;