summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2022-01-13 06:36:22 +0100
committerGitHub <noreply@github.com>2022-01-13 08:36:22 +0300
commite38f51c6bd73999e4e36110ca21cdb473de00bd5 (patch)
treed021934781d35852667c3153feb2e69c18c9803a /Cargo.lock
parent7398e9f8d129359b8590754b1944ef2ba5e76ab6 (diff)
downloadalacritty-e38f51c6bd73999e4e36110ca21cdb473de00bd5.tar.gz
alacritty-e38f51c6bd73999e4e36110ca21cdb473de00bd5.zip
Remove time dependency
In 7398e9f a regression was introduced which causes Alacritty to crash on startup since wayland has a keyboard repeat rate thread started before our logger is initialized. Since the latest version of time was rather inconvenient to use anyway and there is no nice solution for this issue other than downgrading the `time` version again, the time since startup is now logged instead of the local time. This should still provide all the relevant information, while getting rid of an unnecessary dependency. While it would be possible to also print the delta between log messages, this can be trivially computed so it has been omitted to skip adding another `Mutex` to the `Logger` struct.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock26
1 files changed, 1 insertions, 25 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c9bc42d4..6936b448 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -35,7 +35,6 @@ dependencies = [
"serde",
"serde_json",
"serde_yaml",
- "time",
"unicode-width",
"wayland-client",
"winapi 0.3.9",
@@ -801,12 +800,6 @@ dependencies = [
[[package]]
name = "itoa"
-version = "0.4.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
-
-[[package]]
-name = "itoa"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35"
@@ -1425,7 +1418,7 @@ version = "1.0.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142"
dependencies = [
- "itoa 1.0.1",
+ "itoa",
"ryu",
"serde",
]
@@ -1604,23 +1597,6 @@ dependencies = [
]
[[package]]
-name = "time"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad"
-dependencies = [
- "itoa 0.4.8",
- "libc",
- "time-macros",
-]
-
-[[package]]
-name = "time-macros"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25eb0ca3468fc0acc11828786797f6ef9aa1555e4a211a60d64cc8e4d1be47d6"
-
-[[package]]
name = "toml"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"