🏡 index : ~doyle/bin.git

author Andi Powers-Holmes <aholmes@omnom.net> 2024-10-29 21:20:44.0 +11:00:00
committer jordan <jordan@doyle.la> 2024-10-29 17:22:37.0 +00:00:00
commit
459cf79f506b41da577b18907deff4265846e522 [patch]
tree
58e2cb27a38fabbc51c1ee190f69355f342f39f9
parent
b049ea379483ffeabdefa6d0e538531ebe845e00
download
master.tar.gz

Add `time` as a dependency with 0.3.36 version requirement.

Fixes #82 (breakage caused by the rust 1.80 type inference change debacle) same as #83, but also updated Cargo.lock as requested in #83.

Diff

 Cargo.lock | 17 ++++++++++++++---
 Cargo.toml |  1 +
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index d69fa1f..2fab9bf 100644
--- a/Cargo.lock
+++ a/Cargo.lock
@@ -495,6 +495,7 @@
 "rand 0.8.5",
 "serde",
 "syntect",
 "time",
 "tokio",
]

@@ -1416,6 +1417,12 @@
 "autocfg",
 "num-traits",
]

[[package]]
name = "num-conv"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"

[[package]]
name = "num-traits"
@@ -1985,12 +1992,13 @@

[[package]]
name = "time"
version = "0.3.30"
version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5"
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
 "deranged",
 "itoa",
 "num-conv",
 "powerfmt",
 "serde",
 "time-core",
@@ -2005,10 +2013,11 @@

[[package]]
name = "time-macros"
version = "0.2.15"
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20"
checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
 "num-conv",
 "time-core",
]

diff --git a/Cargo.toml b/Cargo.toml
index 5442137..b2e59bb 100644
--- a/Cargo.toml
+++ a/Cargo.toml
@@ -26,6 +26,7 @@
syntect = "5.1"
tokio = { version = "1.35", features = ["sync"] }
futures = "0.3"
time = "0.3.36"

[profile.release]
lto = true