Use latest git version for crossterm to fix bug

- Fix visual bugs on windows using git-bash that are caused by crossterm
- The crossterm bug was fixed in upstream by PR-657 but is not yet
  released to crates.io
- Bump version to 0.1.3
This commit is contained in:
Daniel M 2022-06-15 17:51:07 +02:00
parent 276ff194db
commit 4fb19a4f5b
2 changed files with 8 additions and 5 deletions

5
Cargo.lock generated
View File

@ -141,8 +141,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
[[package]] [[package]]
name = "crossterm" name = "crossterm"
version = "0.23.2" version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/crossterm-rs/crossterm.git?rev=21155716e2eedd5ba8ab97168e5eed7cd50d2ad8#21155716e2eedd5ba8ab97168e5eed7cd50d2ad8"
checksum = "a2102ea4f781910f8a5b98dd061f4c2023f479ce7bb1236330099ceb5a93cf17"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"crossterm_winapi", "crossterm_winapi",
@ -183,7 +182,7 @@ dependencies = [
[[package]] [[package]]
name = "ffdl" name = "ffdl"
version = "0.1.2" version = "0.1.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ffdl" name = "ffdl"
version = "0.1.2" version = "0.1.3"
authors = ["daniel m <danielm@dnml.de>"] authors = ["daniel m <danielm@dnml.de>"]
edition = "2021" edition = "2021"
description = "Download files fast" description = "Download files fast"
@ -11,8 +11,12 @@ reqwest = { version = "0.11.10", features = [ "stream" ] }
futures = "0.3.21" futures = "0.3.21"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
regex = "1.5.5" regex = "1.5.5"
crossterm = "0.23.2"
clap = { version = "3.1.12", features = [ "derive" ] } clap = { version = "3.1.12", features = [ "derive" ] }
chrono = "0.4.19" chrono = "0.4.19"
thiserror = "1.0.30" thiserror = "1.0.30"
anyhow = "1.0.57" anyhow = "1.0.57"
# crossterm had a bug that caused issues on windows with git-bash. This was fixed in a pr, but the
# new version is not yet published to crates.io, so a git dependency with commit pinning is used
# crossterm = "0.23.2"
crossterm = { git = "https://github.com/crossterm-rs/crossterm.git", rev = "21155716e2eedd5ba8ab97168e5eed7cd50d2ad8" }