summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-07-17 19:50:29 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-07-17 19:50:29 +0200
commit12868c33be2d16d504869871b607793201ec3257 (patch)
treea7e66de4810b17cb9219cee64005e990f0678dc5 /Cargo.lock
parent6c2a2d7f0b65ab0bf7da35b871697abde5b075e1 (diff)
Use lazy_static to not recompile regex every timeHEADmaster
This introduces lazy_static as a new dependency so that the regex does not have to be compiled every time the function is called. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 74352a4..a0d85dd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -12,6 +12,7 @@ dependencies = [
name = "annotate-rust"
version = "0.1.0"
dependencies = [
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 1.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.94 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",