Просмотр исходного кода

Don't depend on `"oldtime"` feature in `chrono` which produces security advisory.

Azriel Hoh 2 лет назад
Родитель
Сommit
c7321a0389
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/hot-reload/Cargo.toml

+ 1 - 1
packages/hot-reload/Cargo.toml

@@ -18,7 +18,7 @@ dioxus-html = { path = "../html", features = ["hot-reload-context"], version = "
 
 interprocess = { version = "1.2.1" }
 notify = "5.0.0"
-chrono = "0.4.23"
+chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
 serde_json = "1.0.91"
 serde = { version = "1", features = ["derive"] }
 execute = "0.2.11"