Commit Graph

195 Commits

Author SHA1 Message Date
4ec44c65e4 Use downloader 2022-06-14 10:48:05 +00:00
5e60a941a4 Fix broken pd file will cause PdFile::open failed 2022-06-14 10:05:14 +00:00
c79ad83404 Use i64 for retry count 2022-06-14 09:49:08 +00:00
27557964ae add retry count limit for downloader 2022-06-14 08:42:04 +00:00
248e2d44a2 Format the code 2022-06-14 06:02:51 +00:00
56624c7bd9 update 2022-06-14 04:32:35 +00:00
a0fc3220e9 Remove unwanted spin_on call 2022-06-14 04:19:49 +00:00
08f81cd144 Declare the main function as async 2022-06-14 04:13:33 +00:00
dependabot[bot]
d02db53706 Bump unicode-ident from 1.0.0 to 1.0.1 (#76)
Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/dtolnay/unicode-ident/releases)
- [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: unicode-ident
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 10:46:00 +08:00
dependabot[bot]
671848b84e Bump clap_lex from 0.2.0 to 0.2.2 (#75)
Bumps [clap_lex](https://github.com/clap-rs/clap) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_lex-v0.2.0...clap_lex-v0.2.2)

---
updated-dependencies:
- dependency-name: clap_lex
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 10:45:51 +08:00
dependabot[bot]
492e51a18c Bump reqwest from 0.11.10 to 0.11.11 (#74)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.10 to 0.11.11.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 10:45:43 +08:00
dependabot[bot]
d1590f00ec Bump clap from 3.1.18 to 3.2.1 (#73)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...clap_complete-v3.2.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 10:45:35 +08:00
8062db86d7 Impl Send for UgoiraError2 2022-06-14 02:28:00 +00:00
be15a388ca Update 2022-06-13 23:49:10 +00:00
aff743e1f2 Use downloader 2022-06-13 15:00:09 +00:00
5f896bdca3 Impl Display for downloader error 2022-06-13 12:57:42 +00:00
f3b702eb4e Update 2022-06-13 12:21:36 +00:00
dd73b28a81 Update README 2022-06-13 11:24:30 +00:00
c8c3290f32 Update 2022-06-13 08:44:16 +00:00
960288e350 Update 2022-06-13 04:31:59 +00:00
98e8e8dd69 Update 2022-06-11 14:38:03 +00:00
25fd3a73fe Add missing #[inline] 2022-06-10 10:31:28 +00:00
defea9b761 Update 2022-06-10 04:28:38 +00:00
a5d582c67b Fix reopen error 2022-06-10 04:00:21 +00:00
4bed81248e Update 2022-06-10 03:18:41 +00:00
5206cc9a28 Make sure pd file do not contain gabbage 2022-06-10 02:55:23 +00:00
dependabot[bot]
7ad6730b32 Bump semver from 1.0.9 to 1.0.10 (#72)
Bumps [semver](https://github.com/dtolnay/semver) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/dtolnay/semver/releases)
- [Commits](https://github.com/dtolnay/semver/compare/1.0.9...1.0.10)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-10 10:44:58 +08:00
b7aab2a540 add more tests 2022-06-09 06:41:01 +00:00
dependabot[bot]
f535d751e5 Bump tracing from 0.1.34 to 0.1.35 (#71)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 11:17:13 +08:00
455f7c7938 Update 2022-06-08 14:35:36 +00:00
9912210fe2 Fix create_download_tasks_simple may panic 2022-06-08 13:34:39 +00:00
3c204aa2fb Update 2022-06-08 12:03:59 +00:00
dependabot[bot]
df9f726ada Bump unicode-bidi from 0.3.7 to 0.3.8 (#47)
Bumps [unicode-bidi](https://github.com/servo/unicode-bidi) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/servo/unicode-bidi/releases)
- [Commits](https://github.com/servo/unicode-bidi/commits)

---
updated-dependencies:
- dependency-name: unicode-bidi
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:33:06 +08:00
dependabot[bot]
7c28f11db8 Bump http from 0.2.6 to 0.2.8 (#64)
Bumps [http](https://github.com/hyperium/http) from 0.2.6 to 0.2.8.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.6...v0.2.8)

---
updated-dependencies:
- dependency-name: http
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:26:08 +08:00
dependabot[bot]
384ee9aa01 Bump wasm-bindgen-futures from 0.4.29 to 0.4.30 (#69)
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) from 0.4.29 to 0.4.30.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:21:32 +08:00
dependabot[bot]
6322eff288 Bump mio from 0.8.2 to 0.8.3 (#70)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.2...v0.8.3)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:20:16 +08:00
dependabot[bot]
d71e8cf0d9 Bump anyhow from 1.0.55 to 1.0.57 (#68)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.55 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.57)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:20:07 +08:00
dependabot[bot]
f8f9949fb2 Bump tokio-util from 0.6.9 to 0.6.10 (#67)
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.6.9...tokio-util-0.6.10)

---
updated-dependencies:
- dependency-name: tokio-util
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:19:56 +08:00
dependabot[bot]
caad2d3b06 Bump native-tls from 0.2.8 to 0.2.10 (#66)
Bumps [native-tls](https://github.com/sfackler/rust-native-tls) from 0.2.8 to 0.2.10.
- [Release notes](https://github.com/sfackler/rust-native-tls/releases)
- [Changelog](https://github.com/sfackler/rust-native-tls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sfackler/rust-native-tls/compare/v0.2.8...v0.2.10)

---
updated-dependencies:
- dependency-name: native-tls
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:19:33 +08:00
dependabot[bot]
2a106cba6f Bump web-sys from 0.3.56 to 0.3.57 (#65)
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.56 to 0.3.57.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: web-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:15:37 +08:00
dependabot[bot]
1099cf0992 Bump serde_json from 1.0.79 to 1.0.81 (#62)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.79 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.81)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:15:19 +08:00
dependabot[bot]
c850ad84d0 Bump syn from 1.0.94 to 1.0.96 (#61)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.94 to 1.0.96.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.94...1.0.96)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:14:01 +08:00
dependabot[bot]
a6bf670745 Bump schannel from 0.1.19 to 0.1.20 (#60)
Bumps [schannel](https://github.com/steffengy/schannel-rs) from 0.1.19 to 0.1.20.
- [Release notes](https://github.com/steffengy/schannel-rs/releases)
- [Commits](https://github.com/steffengy/schannel-rs/compare/v0.1.19...v0.1.20)

---
updated-dependencies:
- dependency-name: schannel
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:09:31 +08:00
dependabot[bot]
212692e694 Bump tracing-core from 0.1.26 to 0.1.27 (#59)
Bumps [tracing-core](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.26...tracing-core-0.1.27)

---
updated-dependencies:
- dependency-name: tracing-core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:07:57 +08:00
dependabot[bot]
60dc23cd8f Bump ipnet from 2.3.1 to 2.5.0 (#58)
Bumps [ipnet](https://github.com/krisprice/ipnet) from 2.3.1 to 2.5.0.
- [Release notes](https://github.com/krisprice/ipnet/releases)
- [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md)
- [Commits](https://github.com/krisprice/ipnet/compare/2.3.1...2.5.0)

---
updated-dependencies:
- dependency-name: ipnet
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:07:49 +08:00
dependabot[bot]
448ca36b0a Bump tracing from 0.1.31 to 0.1.34 (#57)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.31 to 0.1.34.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.34)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:07:38 +08:00
dependabot[bot]
f6654ee99a Bump memchr from 2.4.1 to 2.5.0 (#56)
Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/BurntSushi/memchr/releases)
- [Commits](https://github.com/BurntSushi/memchr/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: memchr
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:07:23 +08:00
dependabot[bot]
fd727208ae Bump js-sys from 0.3.56 to 0.3.57 (#55)
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.56 to 0.3.57.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: js-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:05:55 +08:00
dependabot[bot]
7a6342aadd Bump quote from 1.0.15 to 1.0.18 (#54)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.15 to 1.0.18.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.15...1.0.18)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:03:25 +08:00
dependabot[bot]
61e56b0a6d Bump rustls from 0.20.4 to 0.20.6 (#46)
Bumps [rustls](https://github.com/rustls/rustls) from 0.20.4 to 0.20.6.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.20.4...v/0.20.6)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 08:02:58 +08:00