Skip to content

Commit 417db64

Browse files
committed
backup: Demote env_logger to only being required to run the validator
It has to be a full dependency and not just a dev-dependency because the validator binary is a bin and not just an example, but it doesn't need to be built *all* the time.
1 parent 1ad6f50 commit 417db64

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

acknowledgments/acknowledgments-android-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5804,7 +5804,7 @@ THE SOFTWARE.
58045804
58055805
```
58065806

5807-
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, env_filter 0.1.3, env_logger 0.11.8, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
5807+
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
58085808

58095809
```
58105810
Copyright (c) Individual contributors
@@ -6701,7 +6701,7 @@ THE SOFTWARE.
67016701
67026702
```
67036703

6704-
## aho-corasick 1.1.3, jiff 0.2.5, memchr 2.7.4, walkdir 2.5.0
6704+
## aho-corasick 1.1.3, memchr 2.7.4, walkdir 2.5.0
67056705

67066706
```
67076707
The MIT License (MIT)

acknowledgments/acknowledgments-android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5804,7 +5804,7 @@ THE SOFTWARE.
58045804
58055805
```
58065806

5807-
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, env_filter 0.1.3, env_logger 0.11.8, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
5807+
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
58085808

58095809
```
58105810
Copyright (c) Individual contributors
@@ -6701,7 +6701,7 @@ THE SOFTWARE.
67016701
67026702
```
67036703

6704-
## aho-corasick 1.1.3, jiff 0.2.5, memchr 2.7.4, walkdir 2.5.0
6704+
## aho-corasick 1.1.3, memchr 2.7.4, walkdir 2.5.0
67056705

67066706
```
67076707
The MIT License (MIT)

acknowledgments/acknowledgments-desktop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6051,7 +6051,7 @@ SOFTWARE.
60516051
60526052
```
60536053

6054-
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, env_filter 0.1.3, env_logger 0.11.8, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
6054+
## anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24
60556055

60566056
```
60576057
Copyright (c) Individual contributors
@@ -7035,7 +7035,7 @@ THE SOFTWARE.
70357035
70367036
```
70377037

7038-
## aho-corasick 1.1.3, jiff 0.2.5, memchr 2.7.4
7038+
## aho-corasick 1.1.3, memchr 2.7.4
70397039

70407040
```
70417041
The MIT License (MIT)

acknowledgments/acknowledgments-ios.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6237,7 +6237,7 @@ SOFTWARE.
62376237
<key>License</key>
62386238
<string>MIT License</string>
62396239
<key>Title</key>
6240-
<string>anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, env_filter 0.1.3, env_logger 0.11.8, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24</string>
6240+
<string>anstream 0.6.18, anstyle-query 1.1.2, clap 4.5.35, colorchoice 1.0.3, is_terminal_polyfill 1.70.1, toml_datetime 0.6.8, toml_edit 0.22.24</string>
62416241
<key>Type</key>
62426242
<string>PSGroupSpecifier</string>
62436243
</dict>
@@ -7183,7 +7183,7 @@ THE SOFTWARE.
71837183
<key>License</key>
71847184
<string>MIT License</string>
71857185
<key>Title</key>
7186-
<string>aho-corasick 1.1.3, jiff 0.2.5, memchr 2.7.4</string>
7186+
<string>aho-corasick 1.1.3, memchr 2.7.4</string>
71877187
<key>Type</key>
71887188
<string>PSGroupSpecifier</string>
71897189
</dict>

rust/message-backup/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ json = ["dep:serde_json", "dep:protobuf-json-mapping"]
1919
scramble = ["dep:rand"]
2020
test-util = []
2121

22+
[[bin]]
23+
name = "validator"
24+
required-features = ["env_logger"]
25+
2226
[[example]]
2327
name = "json_to_binproto"
2428
required-features = ["json"]
@@ -29,7 +33,7 @@ required-features = ["json"]
2933

3034
[[example]]
3135
name = "scramble"
32-
required-features = ["scramble"]
36+
required-features = ["scramble", "env_logger"]
3337

3438
[[bench]]
3539
name = "validation"
@@ -58,7 +62,7 @@ clap-stdin = { workspace = true }
5862
derive-where = { workspace = true }
5963
derive_more = { workspace = true, features = ["from", "into_iterator", "try_from"] }
6064
displaydoc = { workspace = true }
61-
env_logger = { workspace = true }
65+
env_logger = { workspace = true, optional = true }
6266
futures = { workspace = true }
6367
hex = { workspace = true, features = ["serde"] }
6468
hkdf = { workspace = true }

0 commit comments

Comments
 (0)