chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ll / llm-ls / fix-time-compilation-failure.patch
blobbb7b2b2cb5d35051c2d052972ad47fd86ea0ca20
1 From cb0a3da737d933614bcd011e91048f2009036d09 Mon Sep 17 00:00:00 2001
2 From: a-kenji <aks.kenji@protonmail.com>
3 Date: Wed, 14 Aug 2024 09:29:18 +0200
4 Subject: [PATCH] Fix `time` compilation failure
6 This allows `llm-ls` to be compiled with `rustc --version`: 1.80, using
7 the Cargo.lock file.
9 Reference: https://github.com/rust-lang/rust/issues/127343
10 ---
11 Cargo.lock | 34 ++++++++++++++++++++++++++--------
12 1 file changed, 26 insertions(+), 8 deletions(-)
14 diff --git a/Cargo.lock b/Cargo.lock
15 index 1806f0be28f65ab1283954c5a72ae20594044624..e8328e602e50fd5e47ba55c5dc9c7881a308a0a5 100644
16 --- a/Cargo.lock
17 +++ b/Cargo.lock
18 @@ -487,9 +487,12 @@ dependencies = [
20 [[package]]
21 name = "deranged"
22 -version = "0.3.8"
23 +version = "0.3.11"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
25 -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946"
26 +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
27 +dependencies = [
28 + "powerfmt",
31 [[package]]
32 name = "derive_builder"
33 @@ -1210,6 +1213,12 @@ dependencies = [
34 "winapi",
37 +[[package]]
38 +name = "num-conv"
39 +version = "0.1.0"
40 +source = "registry+https://github.com/rust-lang/crates.io-index"
41 +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
43 [[package]]
44 name = "num_cpus"
45 version = "1.16.0"
46 @@ -1403,6 +1412,12 @@ version = "0.3.27"
47 source = "registry+https://github.com/rust-lang/crates.io-index"
48 checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
50 +[[package]]
51 +name = "powerfmt"
52 +version = "0.2.0"
53 +source = "registry+https://github.com/rust-lang/crates.io-index"
54 +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
56 [[package]]
57 name = "ppv-lite86"
58 version = "0.2.17"
59 @@ -2033,12 +2048,14 @@ dependencies = [
61 [[package]]
62 name = "time"
63 -version = "0.3.28"
64 +version = "0.3.36"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
66 -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48"
67 +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
68 dependencies = [
69 "deranged",
70 "itoa",
71 + "num-conv",
72 + "powerfmt",
73 "serde",
74 "time-core",
75 "time-macros",
76 @@ -2046,16 +2063,17 @@ dependencies = [
78 [[package]]
79 name = "time-core"
80 -version = "0.1.1"
81 +version = "0.1.2"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
83 -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
84 +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
86 [[package]]
87 name = "time-macros"
88 -version = "0.2.14"
89 +version = "0.2.18"
90 source = "registry+https://github.com/rust-lang/crates.io-index"
91 -checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572"
92 +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
93 dependencies = [
94 + "num-conv",
95 "time-core",