aports/testing/dum/strip-env_logger-features.patch
2022-03-24 23:40:51 +00:00

9 lines
255 B
Diff

Build env_logger without unnecessary features to reduce the binary size by
a factor of two.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,1 +18,1 @@
-env_logger = "0.9.0"
+env_logger = { version = "0.9.0", default-features = false, features = ["humantime"] }