Skip to content

Commit

Permalink
rust/time: use branch of time fixed to build on latest rust nightly
Browse files Browse the repository at this point in the history
Issue: OISF#7130
  • Loading branch information
jasonish committed Jul 2, 2024
1 parent afc3187 commit 9114d8d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rust/Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ base64 = "~0.13.0"
bendy = { version = "~0.3.3", default-features = false }
asn1-rs = { version = "~0.6.1" }

# last version to work with MSRV 1.63
time = "=0.3.20"
# Use custom branch of time as 0.3.20 is required for our MSRV of
# 1.63, but 0.3.20 also fails to build on latest Rust.
#
# With Rust 1.67+ we can move to time 0.3.35 and not worry about this.
time = { version = "=0.3.20", git = "https://github.com/jasonish/time", branch = "0.3.20-suricata", features = ["macros", "formatting"] }

suricata-derive = { path = "./derive", version = "@PACKAGE_VERSION@" }

Expand Down

0 comments on commit 9114d8d

Please sign in to comment.