update deps
This commit is contained in:
parent
77b6b62300
commit
d9da160e3f
1487
Cargo.lock
generated
1487
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -5,13 +5,13 @@ authors = ["nyyu <mail@nyyu.tk>"]
|
||||
|
||||
[dependencies]
|
||||
log = "0.4"
|
||||
simple_logger = "0.5"
|
||||
simple_logger = "1.0"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_json = { version = "1.0", features = ["preserve_order"] }
|
||||
reqwest = "0.8"
|
||||
reqwest = "0.9"
|
||||
select = { git = "https://github.com/utkarshkukreti/select.rs" }
|
||||
regex = "1.0"
|
||||
lazy_static = "1.0"
|
||||
winreg = "0.5"
|
||||
lazy_static = "1.3"
|
||||
winreg = "0.6"
|
||||
indexmap = { version = "1.0", features = ["serde-1"] }
|
||||
|
@ -22,7 +22,7 @@ use cgg_data_source::CGGDataSource;
|
||||
use data_source::DataSource;
|
||||
use indexmap::IndexMap;
|
||||
use pb_data_source::PBDataSource;
|
||||
use reqwest::header::{Headers, UserAgent};
|
||||
use reqwest::header;
|
||||
use std::io::{Error, ErrorKind};
|
||||
use std::path::PathBuf;
|
||||
use std::{fs, thread, time};
|
||||
@ -59,8 +59,8 @@ fn main() {
|
||||
};
|
||||
info!("LoL Champs Folder: {}", lol_champs_dir.to_str().unwrap());
|
||||
|
||||
let mut headers = Headers::new();
|
||||
headers.set(UserAgent::new(USER_AGENT));
|
||||
let mut headers = header::HeaderMap::new();
|
||||
headers.insert(header::USER_AGENT, header::HeaderValue::from_static(USER_AGENT));
|
||||
|
||||
let client = reqwest::Client::builder()
|
||||
.default_headers(headers)
|
||||
|
Loading…
Reference in New Issue
Block a user