summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-18 18:19:37 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-18 18:19:37 -0700
commit2fea044264da4a35e112110164eb98f6b19295ce (patch)
treee7bad01268f1d0ea3cdf381f48b0f4dbe870c3eb /Cargo.lock
parent99bc14e8adb80d96ba1896b79a6c2ddec32c2513 (diff)
Parallelize markdown parsing, and do it upfront
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock32
1 files changed, 32 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7cdc66d..1b4ea90 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -423,6 +423,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4358a9e11b9a09cf52383b451b49a169e8d797b68aa02301ff586d70d9661ea3"
[[package]]
+name = "either"
+version = "1.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
+
+[[package]]
name = "encoding_rs"
version = "0.8.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1321,6 +1327,31 @@ dependencies = [
]
[[package]]
+name = "rayon"
+version = "1.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"
+dependencies = [
+ "autocfg",
+ "crossbeam-deque",
+ "either",
+ "rayon-core",
+]
+
+[[package]]
+name = "rayon-core"
+version = "1.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"
+dependencies = [
+ "crossbeam-deque",
+ "crossbeam-queue",
+ "crossbeam-utils",
+ "lazy_static",
+ "num_cpus",
+]
+
+[[package]]
name = "redox_syscall"
version = "0.1.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1546,6 +1577,7 @@ dependencies = [
"minimad",
"phf",
"pulldown-cmark",
+ "rayon",
"reqwest",
"serde",
"serde_json",