diff --git a/.gitignore b/.gitignore index bf064a5..74bdf22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /target config.json -matrix-meshtastic-bridge.db +matrix-meshtastic-bridge.db* diff --git a/Cargo.lock b/Cargo.lock index 0b2c00e..5f096c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -515,33 +515,12 @@ dependencies = [ "zeroize", ] -[[package]] -name = "colog" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c426b7af8d5e0ad79de6713996632ce31f0d68ba84068fb0d654b396e519df0" -dependencies = [ - "colored", - "env_logger", - "log", -] - [[package]] name = "colorchoice" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" -[[package]] -name = "colored" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" -dependencies = [ - "lazy_static", - "windows-sys 0.48.0", -] - [[package]] name = "combine" version = "4.6.7" @@ -1767,7 +1746,7 @@ name = "matrix-meshtastic-bridge" version = "0.1.0" dependencies = [ "anyhow", - "colog", + "env_logger", "log", "matrix-sdk", "meshtastic", diff --git a/Cargo.toml b/Cargo.toml index 009f999..5651713 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] anyhow = "1.0.89" -colog = "1.3.0" +env_logger = "0.11.5" log = "0.4.22" matrix-sdk = { version = "0.7.1", features = ["anyhow"] } meshtastic = "0.1.6" diff --git a/src/main.rs b/src/main.rs index e8c3f85..f824310 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ mod meshtastic; #[tokio::main] async fn main() -> anyhow::Result<()> { - colog::init(); + env_logger::init(); let config = config::read_config().await;