Skip to content

Commit 8cfb462

Browse files
committed
Fix serde
Signed-off-by: Xuanwo <[email protected]>
1 parent e12bf61 commit 8cfb462

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ clap = { version = "3.2.22", features = ["derive", "env"] }
118118

119119
# serialization
120120
prost = { version = "0.11.0" }
121-
serde = { version = "1.0.145", features = ["derive", "rc"] }
121+
# 1.0.153 adds a new feature which will allow `serde(alias = "…")` inside a flattened struct.
122+
# This feature seems cool but will break our config parse.
123+
# @xuanwo will address this issue upon his return from Mars.
124+
serde = { version = "=1.0.152", features = ["derive", "rc"] }
122125
serde_json = { version = "1.0.85", default-features = false, features = ["preserve_order"] }
123126

124127
# chrono

0 commit comments

Comments
 (0)