mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
remove some unused imports
This commit is contained in:
parent
801c5fcc40
commit
3a1fc74ec3
4 changed files with 0 additions and 4 deletions
|
@ -11,7 +11,6 @@ use std::io::Read;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use std::{fs, io, time};
|
use std::{fs, io, time};
|
||||||
use unicode_normalization::{is_nfc, UnicodeNormalization};
|
use unicode_normalization::{is_nfc, UnicodeNormalization};
|
||||||
use utime;
|
|
||||||
|
|
||||||
/// The maximum length we allow a filename to be. When combined
|
/// The maximum length we allow a filename to be. When combined
|
||||||
/// with the rest of the path, the full path needs to be under ~240 chars
|
/// with the rest of the path, the full path needs to be under ~240 chars
|
||||||
|
|
|
@ -12,7 +12,6 @@ use crate::version;
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use coarsetime::Instant;
|
use coarsetime::Instant;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
use reqwest;
|
|
||||||
use reqwest::{multipart, Client, Response};
|
use reqwest::{multipart, Client, Response};
|
||||||
use serde_derive::{Deserialize, Serialize};
|
use serde_derive::{Deserialize, Serialize};
|
||||||
use serde_tuple::Serialize_tuple;
|
use serde_tuple::Serialize_tuple;
|
||||||
|
|
|
@ -5,7 +5,6 @@ use crate::err::{AnkiError, Result, TemplateError};
|
||||||
use crate::i18n::{tr_strs, FString, I18n};
|
use crate::i18n::{tr_strs, FString, I18n};
|
||||||
use crate::template_filters::apply_filters;
|
use crate::template_filters::apply_filters;
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use nom;
|
|
||||||
use nom::branch::alt;
|
use nom::branch::alt;
|
||||||
use nom::bytes::complete::tag;
|
use nom::bytes::complete::tag;
|
||||||
use nom::error::ErrorKind;
|
use nom::error::ErrorKind;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// Copyright: Ankitects Pty Ltd and contributors
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
use htmlescape;
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use regex::{Captures, Regex};
|
use regex::{Captures, Regex};
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
|
|
Loading…
Reference in a new issue