Trying to fix Rust 1.78

This commit is contained in:
Igor Katson 2024-12-03 21:07:44 +00:00
parent 44c54ed3ce
commit 301232c9bd
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 14 additions and 1 deletions

13
Cargo.lock generated
View file

@ -2387,6 +2387,16 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
[[package]]
name = "idna"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
dependencies = [
"unicode-bidi",
"unicode-normalization",
]
[[package]] [[package]]
name = "idna" name = "idna"
version = "1.0.3" version = "1.0.3"
@ -2774,6 +2784,7 @@ dependencies = [
"governor", "governor",
"hex 0.4.3", "hex 0.4.3",
"http", "http",
"idna 0.5.0",
"itertools 0.13.0", "itertools 0.13.0",
"librqbit-bencode", "librqbit-bencode",
"librqbit-buffers", "librqbit-buffers",
@ -6478,7 +6489,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [ dependencies = [
"form_urlencoded", "form_urlencoded",
"idna", "idna 1.0.3",
"percent-encoding", "percent-encoding",
"serde", "serde",
] ]

View file

@ -93,6 +93,8 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [
uuid = { version = "1.2", features = ["v4"] } uuid = { version = "1.2", features = ["v4"] }
futures = "0.3" futures = "0.3"
url = { version = "2", default-features = false } url = { version = "2", default-features = false }
idna = "=0.5.0" # we don't need this crate, but see https://github.com/servo/rust-url/issues/992. It's a dependency of reqwest that we can't turn off, but we need to force pin it to a lower version.
hex = "0.4" hex = "0.4"
backoff = "0.4.0" backoff = "0.4.0"
dashmap = "6" dashmap = "6"