update deps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2020-11-20 08:15:50 +01:00
parent abf370eb9d
commit 5001bb14d4
3 changed files with 706 additions and 762 deletions

1454
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,15 +6,15 @@ edition = "2018"
[dependencies]
log = "0.4"
simple_logger = "1.6"
simple_logger = "1.11"
serde = "1.0"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["preserve_order"] }
reqwest = { version = "0.10", features = ["blocking", "json"] }
select = "0.4"
regex = "1.3"
select = "0.5"
regex = "1.4"
lazy_static = "1.4"
indexmap = { version = "1.4", features = ["serde-1"] }
indexmap = { version = "1.6", features = ["serde-1"] }
[target.'cfg(windows)'.dependencies]
winreg = "0.7"

View File

@ -1,8 +1,8 @@
use indexmap::IndexMap;
use log::{error, info};
use log::{error, info, LevelFilter};
use reqwest::header;
use serde_derive::Deserialize;
use simple_logger;
use simple_logger::SimpleLogger;
use std::io::{Error, ErrorKind};
use std::path::PathBuf;
use std::{fs, thread, time};
@ -40,7 +40,7 @@ const USER_AGENT: &str =
const LOL_CHAMPS_DIR: &str = ".\\champs";
fn main() {
simple_logger::init_with_level(log::Level::Info).unwrap();
SimpleLogger::new().with_level(LevelFilter::Info).init().unwrap();
info!("CGG Item Sets");