mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Update dependencies
This commit is contained in:
parent
19202327b9
commit
2d59d2280e
1389
Cargo.lock
generated
1389
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
14
Cargo.toml
14
Cargo.toml
@ -12,28 +12,28 @@ reqwest = { version = "0.11.0", default-features = false, features = ["cookies",
|
||||
tokio = { version = "1.24.2", features = ["fs", "macros", "net", "rt-multi-thread", "process"] }
|
||||
tokio-util = { version = "0.7.0", features = ["io"] }
|
||||
serde_json = "1.0.51"
|
||||
scraper = "0.13.0"
|
||||
scraper = "0.17"
|
||||
url = "2.1.1"
|
||||
futures = "0.3.8"
|
||||
futures-util = "0.3.8"
|
||||
futures-channel = "0.3.8"
|
||||
regex = "1.3.7"
|
||||
structopt = "0.3.13"
|
||||
rpassword = "6.0.1"
|
||||
rprompt = "1.0.5"
|
||||
rpassword = "7"
|
||||
rprompt = "2"
|
||||
ignore = "0.4.14"
|
||||
anyhow = "1.0.28"
|
||||
colored = "2.0.0"
|
||||
keyring = { git = "https://github.com/FliegendeWurst/keyring-rs" }
|
||||
cfg-if = "1.0.0"
|
||||
indicatif = "0.16.0"
|
||||
indicatif = "0.17"
|
||||
once_cell = "1.7.2"
|
||||
atty = "0.2.14"
|
||||
h2 = "0.3.3"
|
||||
cookie_store = "0.16.1"
|
||||
reqwest_cookie_store = "0.3.0"
|
||||
cookie_store = "0.20"
|
||||
reqwest_cookie_store = "0.6"
|
||||
bytes = "1.0.1"
|
||||
toml = "0.5.8"
|
||||
toml = "0.7"
|
||||
tempfile = "3.2.0"
|
||||
ego-tree = "0.6.2"
|
||||
async-recursion = "1.0.0"
|
||||
|
@ -157,7 +157,7 @@ pub fn ask_user_pass(opt: &Opt) -> Result<(String, String)> {
|
||||
let user = if let Some(username) = opt.username.as_ref() {
|
||||
username.clone()
|
||||
} else {
|
||||
rprompt::prompt_reply_stdout("Username: ").context("username prompt")?
|
||||
rprompt::prompt_reply("Username: ").context("username prompt")?
|
||||
};
|
||||
let (pass, should_store);
|
||||
let keyring = Lazy::new(|| keyring::Entry::new(env!("CARGO_PKG_NAME"), &user));
|
||||
|
@ -151,8 +151,8 @@ async fn real_main(mut opt: Opt) -> Result<()> {
|
||||
let mut rx = queue::set_parallel_jobs(ilias.opt.jobs);
|
||||
PROGRESS_BAR_ENABLED.store(atty::is(atty::Stream::Stdout), Ordering::SeqCst);
|
||||
if PROGRESS_BAR_ENABLED.load(Ordering::SeqCst) {
|
||||
PROGRESS_BAR.set_draw_target(ProgressDrawTarget::stderr_nohz());
|
||||
PROGRESS_BAR.set_style(ProgressStyle::default_bar().template("[{pos}/{len}+] {wide_msg}"));
|
||||
PROGRESS_BAR.set_draw_target(ProgressDrawTarget::stderr());
|
||||
PROGRESS_BAR.set_style(ProgressStyle::default_bar().template("[{pos}/{len}+] {wide_msg}")?);
|
||||
PROGRESS_BAR.set_message("initializing..");
|
||||
}
|
||||
|
||||
@ -195,7 +195,7 @@ async fn real_main(mut opt: Opt) -> Result<()> {
|
||||
}
|
||||
}
|
||||
if PROGRESS_BAR_ENABLED.load(Ordering::SeqCst) {
|
||||
PROGRESS_BAR.set_style(ProgressStyle::default_bar().template("[{pos}/{len}] {wide_msg}"));
|
||||
PROGRESS_BAR.set_style(ProgressStyle::default_bar().template("[{pos}/{len}] {wide_msg}")?);
|
||||
PROGRESS_BAR.finish_with_message("done");
|
||||
}
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user