tokio-xmpp, xmpp: Remove regex support from env_logger

Emmanuel Gil Peyrot created

This bloats our binaries by 1.1 MiB after stripping, for very minimal
additional features.  People who need that feature can enable it
themselves.

Change summary

tokio-xmpp/Cargo.toml | 2 +-
xmpp/Cargo.toml       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

tokio-xmpp/Cargo.toml 🔗

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

xmpp/Cargo.toml 🔗

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