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" }