From 5beb25a57564b383cd7d201791f544d851eab40b Mon Sep 17 00:00:00 2001 From: Jan Lukas Gernert Date: Wed, 29 Aug 2018 18:25:30 +0200 Subject: [PATCH] remove old dependency --- Cargo.toml | 1 - src/lib.rs | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 16f896d..f07a891 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ url = "1.7" regex = "1.0" encoding_rs = "0.8" chrono = "0.4" -htmlescape = "0.3" base64 = "0.9" image = "0.19" log = "0.4" diff --git a/src/lib.rs b/src/lib.rs index a650ec5..541be74 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,6 @@ extern crate reqwest; extern crate url; extern crate regex; extern crate encoding_rs; -extern crate htmlescape; extern crate base64; extern crate image; extern crate chrono; @@ -35,7 +34,9 @@ use config::{ GrabberConfig, ConfigCollection }; -use encoding_rs::*; +use encoding_rs::{ + Encoding, +}; use chrono::NaiveDateTime; use std::str::FromStr; use images::ImageDownloader;