From 0a47f8ea765ac4d5eea267f97ddc12ec5e289f7d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 18 Apr 2023 13:50:42 -0700 Subject: [PATCH] remove transitive dep on time 0.1 chrono still is pulling this in for some reason. Super frustrating. refs: https://github.com/chronotope/chrono/issues/602 --- Cargo.lock | 35 ++++++---------------------- env-bootstrap/Cargo.toml | 2 +- frecency/Cargo.toml | 2 +- lua-api-crates/time-funcs/Cargo.toml | 4 ++-- mux/Cargo.toml | 2 +- wezterm-gui/Cargo.toml | 2 +- wezterm/Cargo.toml | 2 +- 7 files changed, 14 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eaa057243..e641d8ea7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -571,13 +571,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" dependencies = [ "iana-time-zone", - "js-sys", "num-integer", "num-traits", "pure-rust-locales", "serde", - "time 0.1.45", - "wasm-bindgen", "winapi", ] @@ -1917,7 +1914,7 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] @@ -3073,7 +3070,7 @@ checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" dependencies = [ "libc", "log", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys 0.45.0", ] @@ -3779,7 +3776,7 @@ dependencies = [ "line-wrap", "quick-xml 0.28.2", "serde", - "time 0.3.20", + "time", ] [[package]] @@ -4116,7 +4113,7 @@ checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", "ring", - "time 0.3.20", + "time", "yasna", ] @@ -4511,7 +4508,7 @@ dependencies = [ "serde", "serde_json", "serde_with_macros", - "time 0.3.20", + "time", ] [[package]] @@ -4777,8 +4774,7 @@ dependencies = [ [[package]] name = "spa" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "188e0376df998cb9f953a6d4ceb8556fe9223d1f3386e5c0cdb69aab31d62f1b" +source = "git+https://github.com/wez/spa-rs.git?rev=b7b5bc5e1cec209dd1595a2592b89171e46ef378#b7b5bc5e1cec209dd1595a2592b89171e46ef378" dependencies = [ "chrono", ] @@ -5198,17 +5194,6 @@ dependencies = [ "weezl", ] -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - [[package]] name = "time" version = "0.3.20" @@ -5655,12 +5640,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -6803,7 +6782,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.20", + "time", ] [[package]] diff --git a/env-bootstrap/Cargo.toml b/env-bootstrap/Cargo.toml index 1281bcacd..798dacb12 100644 --- a/env-bootstrap/Cargo.toml +++ b/env-bootstrap/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies] backtrace = "0.3" -chrono = {version="0.4", features=["unstable-locales"]} +chrono = {version="0.4", default-features=false, features=["unstable-locales"]} config = { path = "../config" } dirs-next = "2.0" lazy_static = "1.4" diff --git a/frecency/Cargo.toml b/frecency/Cargo.toml index 146b2f9aa..0167d64f1 100644 --- a/frecency/Cargo.toml +++ b/frecency/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -chrono = "0.4" +chrono = {version="0.4", default-features=false} serde = {version="1.0", features = ["derive"]} serde_with = {version="2.0", features = ["chrono_0_4"]} diff --git a/lua-api-crates/time-funcs/Cargo.toml b/lua-api-crates/time-funcs/Cargo.toml index 80a4608ed..175f4b6fb 100644 --- a/lua-api-crates/time-funcs/Cargo.toml +++ b/lua-api-crates/time-funcs/Cargo.toml @@ -7,11 +7,11 @@ edition = "2021" [dependencies] anyhow = "1.0" -chrono = {version="0.4", features=["unstable-locales"]} +chrono = {version="0.4", default-features=false, features=["unstable-locales"]} config = { path = "../../config" } luahelper = { path = "../../luahelper" } lazy_static = "1.4" promise = { path = "../../promise" } smol = "1.2" -spa = "0.3" +spa = {version="0.3", git="https://github.com/wez/spa-rs.git", rev="b7b5bc5e1cec209dd1595a2592b89171e46ef378"} wezterm-dynamic = { path = "../../wezterm-dynamic" } diff --git a/mux/Cargo.toml b/mux/Cargo.toml index d259c7e00..867a6b7dc 100644 --- a/mux/Cargo.toml +++ b/mux/Cargo.toml @@ -12,7 +12,7 @@ async-trait = "0.1" base64 = "0.21" bintree = { path = "../bintree" } bitflags = "1.3" -chrono = { version = "0.4", features = ["serde"] } +chrono = { version = "0.4", default-features=false, features = ["serde"] } config = { path = "../config" } crossbeam = "0.8" downcast-rs = "1.0" diff --git a/wezterm-gui/Cargo.toml b/wezterm-gui/Cargo.toml index b61b1164d..101ca26fd 100644 --- a/wezterm-gui/Cargo.toml +++ b/wezterm-gui/Cargo.toml @@ -36,7 +36,7 @@ cc = "1.0" anyhow = "1.0" bitflags = "1.3" bytemuck = { version="1.4", features=["derive"]} -chrono = {version="0.4", features=["unstable-locales"]} +chrono = {version="0.4", default-features=false} clap = {version="4.0", features=["derive"]} codec = { path = "../codec" } colorgrad = "0.6" diff --git a/wezterm/Cargo.toml b/wezterm/Cargo.toml index bcc788b8e..f07126961 100644 --- a/wezterm/Cargo.toml +++ b/wezterm/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" [dependencies] anyhow = "1.0" -chrono = "0.4" +chrono = {version="0.4", default-features=false} clap = {version="4.0", features=["derive", "wrap_help"]} clap_complete = "4.0" clap_complete_fig = "4.0"