47b920777a
* link_checking: prevent rate-limiting Fix for https://github.com/getzola/zola/issues/1056. - assign all links for a domain to the same thread - reduce number of threads from 32 to 8 - add sleep between HTTP calls * Add get_link_domain(), use for loops * Do not sleep after last link for domain * Avoid quadratic complexity * remove prints
34 lines
704 B
TOML
34 lines
704 B
TOML
[package]
|
|
name = "site"
|
|
version = "0.1.0"
|
|
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
|
|
edition = "2018"
|
|
include = ["src/**/*"]
|
|
|
|
[dependencies]
|
|
tera = "1"
|
|
glob = "0.3"
|
|
walkdir = "2"
|
|
rayon = "1"
|
|
serde = "1"
|
|
serde_derive = "1"
|
|
sass-rs = "0.2"
|
|
lazy_static = "1.1"
|
|
relative-path = "1"
|
|
slotmap = "0.4"
|
|
url = "2"
|
|
|
|
errors = { path = "../errors" }
|
|
config = { path = "../config" }
|
|
utils = { path = "../utils" }
|
|
templates = { path = "../templates" }
|
|
front_matter = { path = "../front_matter" }
|
|
search = { path = "../search" }
|
|
imageproc = { path = "../imageproc" }
|
|
library = { path = "../library" }
|
|
link_checker = { path = "../link_checker" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
path-slash = "0.1.4"
|