upgrade regex to avoid RUSTSEC-2022-0013 vulnerability

* upgrade regex to 1.5.5
* upgrade other crates' version also.
This commit is contained in:
Harry Fei
2022-03-20 19:26:09 +08:00
parent 97a4c639f6
commit f9a2f431b0
+3 -3
View File
@@ -13,14 +13,14 @@ keywords = ["which", "which-rs", "unix", "command"]
[dependencies]
either = "1.6.1"
libc = "0.2.117"
regex = { version = "1.5.4", optional = true }
libc = "0.2.121"
regex = { version = "1.5.5", optional = true }
[target.'cfg(windows)'.dependencies]
lazy_static = "1.4.0"
[dev-dependencies]
tempfile = "3"
tempfile = "3.3.0"
[package.metadata.docs.rs]
all-features = true