Skip to content

Commit

Permalink
Use at least regex 1.5.1 to avoid build build failures without `per…
Browse files Browse the repository at this point in the history
…f-literal` feature

When building a crate that depends on `bindgen` with `-Zminimal-features`, `cargo` ends up selecting `regex 1.5.0` which fails to compile when its `perf-literal` feature wasn't enabled. This was aptly fixed in `1.5.1`, albeit without yanking the `1.5.0` release.

rust-lang/regex#931
  • Loading branch information
MarijnS95 authored and emilio committed Jan 12, 2024
1 parent d0c2b1e commit 11aeae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ peeking_take_while = "0.1.2"
prettyplease = { version = "0.2.7", optional = true, features = ["verbatim"] }
proc-macro2 = { version = "1", default-features = false }
quote = { version = "1", default-features = false }
regex = { version = "1.5", default-features = false, features = ["std", "unicode-perl"] }
regex = { version = "1.5.1", default-features = false, features = ["std", "unicode-perl"] }
rustc-hash = "1.0.1"
shlex = "1"
syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut"] }
Expand Down

0 comments on commit 11aeae4

Please sign in to comment.