1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-12 19:24:04 +02:00

tokio-xmpp, xmpp: Remove regex support from env_logger

This bloats our binaries by 1.1 MiB after stripping, for very minimal
additional features.  People who need that feature can enable it
themselves.
This commit is contained in:
Emmanuel Gil Peyrot 2023-10-25 20:03:45 +02:00 committed by pep
parent b94d1b5222
commit 2d11ada30f
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ rand = "^0.8"
syntect = { version = "5", optional = true }
[dev-dependencies]
env_logger = "0.10"
env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }
[build-dependencies]
rustc_version = "0.4"

View File

@ -22,7 +22,7 @@ reqwest = { version = "0.11.8", features = ["stream"] }
tokio-util = { version = "0.7", features = ["codec"] }
[dev-dependencies]
env_logger = "0.10"
env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }
[[example]]
name = "hello_bot"