From e88640c9c9545059ae0b09bc267da4e826cb3c57 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Fri, 7 May 2021 09:18:29 +0200 Subject: [PATCH] Version 0.2.18 --- Cargo.lock | 21 ++++++++++++--------- Cargo.toml | 4 ++-- README.md | 5 +++-- build.sh | 2 +- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c2ffcdd..3feff46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "KIT-ILIAS-downloader" -version = "0.2.17" +version = "0.2.18" dependencies = [ "anyhow", "atty", @@ -308,10 +308,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" [[package]] -name = "cpuid-bool" -version = "0.1.2" +name = "cpufeatures" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634" +checksum = "dec1028182c380cc45a2e2c5ec841134f2dfd0f8f5f0a5bcd68004f81b5efdf4" +dependencies = [ + "libc", +] [[package]] name = "crc32fast" @@ -1300,9 +1303,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.3" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5f1ceb7f74abbce32601642fcf8e8508a8a8991e0621c7d750295b9095702b" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" dependencies = [ "aho-corasick", "memchr", @@ -1586,13 +1589,13 @@ checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" [[package]] name = "sha2" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa827a14b29ab7f44778d14a88d3cb76e949c45083f7dbfa507d0cb699dc12de" +checksum = "d8f6b75b17576b792bef0db1bcc4b8b8bcdf9506744cf34b974195487af6cff2" dependencies = [ "block-buffer", "cfg-if", - "cpuid-bool", + "cpufeatures", "digest", "opaque-debug", ] diff --git a/Cargo.toml b/Cargo.toml index 400b6ce..3a02799 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "KIT-ILIAS-downloader" -version = "0.2.17" +version = "0.2.18" authors = ["FliegendeWurst <2012gdwu@posteo.de>"] -license = "GPL-2.0" +license = "GPL-2.0-or-later" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 1f50208..ba179bd 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ $ KIT-ILIAS-downloader -o ./ILIAS/WS2021-HM1 --sync-url 'https://ilias.studium.k ``` $ KIT-ILIAS-downloader --help -KIT-ILIAS-downloader 0.2.16 +KIT-ILIAS-downloader 0.2.18 USAGE: KIT-ILIAS-downloader [FLAGS] [OPTIONS] --output FLAGS: --check-videos Re-check OpenCast lectures (slow) - --content-tree Use content tree (slow but thorough) + --content-tree Use content tree (experimental) -f Re-download already present files -t, --forum Download forum content -h, --help Prints help information @@ -60,6 +60,7 @@ OPTIONS: -o, --output Output directory -P, --password KIT account password -p, --proxy Proxy, e.g. socks5h://127.0.0.1:1080 + --rate Requests per minute [default: 8] --sync-url ILIAS page to download -U, --username KIT account username ``` diff --git a/build.sh b/build.sh index bf6e62b..c17f08b 100755 --- a/build.sh +++ b/build.sh @@ -7,4 +7,4 @@ rustup target add x86_64-pc-windows-gnu # if on Debian or similar sudo apt install mingw-w64 cargo build --release --all-features --target x86_64-pc-windows-gnu -strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader +strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader.exe