-
-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathCargo.toml
94 lines (84 loc) · 2.58 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "lychee-lib"
authors = ["Matthias Endler <[email protected]>"]
description = "A fast, async link checker"
documentation = "https://docs.rs/lychee_lib"
edition = "2021"
homepage = "https://github.com/lycheeverse/lychee"
keywords = ["link", "checker", "cli", "link-checker", "validator"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/lycheeverse/lychee"
readme = "../README.md"
version.workspace = true
[dependencies]
async-stream = "0.3.5"
async-trait = "0.1.80"
cached = "0.49.3"
check-if-email-exists = { version = "0.9.1", optional = true }
email_address = "0.2.4"
futures = "0.3.30"
glob = "0.3.1"
headers = "0.4.0"
html5ever = "0.27.0"
html5gum = "0.5.7"
http = "1.0.0"
hyper = "1.3.1"
ip_network = "0.4.1"
jwalk = "0.8.1"
linkify = "0.10.0"
log = "0.4.21"
octocrab = "0.38.0"
once_cell = "1.19.0"
openssl-sys = { version = "0.9.102", optional = true }
path-clean = "1.0.1"
percent-encoding = "2.3.1"
pulldown-cmark = "0.9.6"
regex = "1.10.4"
# Use trust-dns to avoid lookup failures on high concurrency
# https://github.com/seanmonstar/reqwest/issues/296
reqwest = { version = "0.12.4", default-features = false, features = [
"gzip",
"trust-dns",
"cookies",
] }
reqwest_cookie_store = "0.7.0"
# Make build work on Apple Silicon.
# See https://github.com/briansmith/ring/issues/1163
# This is necessary for the homebrew build
# https://github.com/Homebrew/homebrew-core/pull/70216
ring = "0.17.8"
secrecy = "0.8.0"
serde = { version = "1.0.198", features = ["derive"] }
serde_with = "3.7.0"
shellexpand = "3.1.0"
thiserror = "1.0.59"
tokio = { version = "1.37.0", features = ["full"] }
toml = "0.8.12"
typed-builder = "0.18.2"
url = { version = "2.5.0", features = ["serde"] }
[dependencies.par-stream]
version = "0.10.2"
features = ["runtime-tokio"]
[dev-dependencies]
doc-comment = "0.3.3"
tempfile = "3.10.1"
wiremock = "0.6.0"
serde_json = "1.0.116"
rstest = "0.19.0"
toml = "0.8.12"
[features]
# Enable checking email addresses. Requires the native-tls feature.
email-check = ["check-if-email-exists"]
# Use platform-native TLS.
native-tls = ["openssl-sys", "reqwest/native-tls"]
# Use Rustls TLS.
rustls-tls = ["reqwest/rustls-tls-native-roots"]
# Compile and statically link a copy of OpenSSL.
vendored-openssl = ["openssl-sys/vendored"]
# Feature flag to include checking reserved example domains
# as per RFC 2606, section 3.
# This flag is off by default and only exists to allow example domains in
# integration tests, which don't respect `#[cfg(test)]`.
# See https://users.rust-lang.org/t/36630
check_example_domains = []
default = ["native-tls", "email-check"]