Skip to content

Commit

Permalink
fix(tonic): disable chrono default features (#148)
Browse files Browse the repository at this point in the history
A workaround for the security advisory regarding the chrono dependency.

Source: chronotope/chrono#602
  • Loading branch information
bsbds committed Jun 8, 2023
1 parent 67efb00 commit 6753d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion madsim-tonic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tonic = "0.8.3"

[target.'cfg(madsim)'.dependencies]
async-stream = "0.3"
chrono = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
futures-util = "0.3"
madsim = { version = "0.2.20", path = "../madsim" }
tracing = "0.1"
Expand Down

0 comments on commit 6753d73

Please sign in to comment.