Skip to content

Commit 339d0dd

Browse files
committed
Add 'std' feature for regex crate
1 parent 6807207 commit 339d0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ memchr = "2"
2121
miniserde = "0.1.10"
2222
proc-macro2 = "1"
2323
quote = "1"
24-
regex = { version = "1.5.5", default-features = false } # for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html
24+
regex = { version = "1.5.5", default-features = false, features = ["std"] } # for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html
2525
roxmltree = "0.14"
2626
syn = { version = "1", features = ["full", "extra-traits", "visit"] }
2727
unindent = "0.1.5"

0 commit comments

Comments
 (0)