From 803feb0f416d0f7c8003dc79208955d931194e0e Mon Sep 17 00:00:00 2001 From: amtoaer Date: Wed, 27 Mar 2024 23:24:41 +0800 Subject: [PATCH] =?UTF-8?q?deps:=20=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 31 +++++++++++++++++++++++++++++++ Cargo.toml | 2 ++ 2 files changed, 33 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index e9ba5f9..3dc41bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -387,9 +387,11 @@ dependencies = [ "chrono", "cookie 0.18.0", "entity", + "env_logger", "futures-core", "futures-util", "hex", + "log", "migration", "rand", "regex", @@ -793,6 +795,29 @@ dependencies = [ "serde_json", ] +[[package]] +name = "env_filter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +dependencies = [ + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" +dependencies = [ + "anstream", + "anstyle", + "env_filter", + "humantime", + "log", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -1249,6 +1274,12 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + [[package]] name = "hyper" version = "1.2.0" diff --git a/Cargo.toml b/Cargo.toml index e1fa18d..3e22b33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,8 @@ hex = "0.4.3" rand = "0.8.5" regex = "1.10.3" chrono = { version = "0.4.35", features = ["serde"] } +env_logger = "0.11.3" +log = "0.4.21" entity = { path = "entity" } migration = { path = "migration" }