aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dum/strip-env_logger-features.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dum/strip-env_logger-features.patch')
-rw-r--r--testing/dum/strip-env_logger-features.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/dum/strip-env_logger-features.patch b/testing/dum/strip-env_logger-features.patch
new file mode 100644
index 00000000000..4940a0c2580
--- /dev/null
+++ b/testing/dum/strip-env_logger-features.patch
@@ -0,0 +1,8 @@
+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"] }