mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
87 lines
2.5 KiB
TOML
87 lines
2.5 KiB
TOML
[package]
|
|
name = "lychee"
|
|
authors = ["Matthias Endler <matthias@endler.dev>"]
|
|
description = "A fast, async link checker"
|
|
documentation = "https://docs.rs/lychee"
|
|
homepage = "https://github.com/lycheeverse/lychee"
|
|
edition = "2021"
|
|
keywords = [
|
|
"link",
|
|
"checker",
|
|
"cli",
|
|
"link-checker",
|
|
"validator",
|
|
]
|
|
license = "Apache-2.0/MIT"
|
|
repository = "https://github.com/lycheeverse/lychee"
|
|
version = "0.11.1"
|
|
|
|
[dependencies]
|
|
lychee-lib = { path = "../lychee-lib", version = "0.11.1", default-features = false }
|
|
anyhow = "1.0.70"
|
|
console = "0.15.5"
|
|
const_format = "0.2.30"
|
|
headers = "0.3.8"
|
|
http = "0.2.9"
|
|
indicatif = "0.17.3"
|
|
openssl-sys = "0.9.83"
|
|
pad = "0.1.6"
|
|
regex = "1.7.3"
|
|
reqwest = { version = "0.11.15", features = ["gzip"] }
|
|
# 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.16.20"
|
|
serde = { version = "1.0.158", features = ["derive"] }
|
|
serde_json = "1.0.94"
|
|
tabled = "0.10.0"
|
|
toml = "0.7.3"
|
|
tokio = { version = "1.26.0", features = ["full"] }
|
|
futures = "0.3.27"
|
|
tokio-stream = "0.1.12"
|
|
once_cell = "1.17.1"
|
|
dashmap = { version = "5.4.0", features = ["serde"] }
|
|
csv = "1.2.1"
|
|
humantime = "2.1.0"
|
|
humantime-serde = "1.1.1"
|
|
secrecy = { version = "0.8.0", features = ["serde"] }
|
|
supports-color = "2.0.0"
|
|
log = "0.4.17"
|
|
env_logger = "0.10.0"
|
|
|
|
[dependencies.clap]
|
|
version = "4.1.11"
|
|
features = ["env", "derive"]
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0.10"
|
|
pretty_assertions = "1.3.0"
|
|
predicates = "3.0.2"
|
|
tempfile = "3.4.0"
|
|
uuid = { version = "1.3.0", features = ["v4"] }
|
|
wiremock = "0.5.17"
|
|
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["fmt", "registry", "env-filter"] }
|
|
|
|
# console-subscriber is not yet published to crates.io
|
|
# Users have to uncomment this section and the feature below and build lychee
|
|
# locally
|
|
# TODO: Remove this git revision pin after publication
|
|
#[dependencies.console-subscriber]
|
|
#optional = true
|
|
#git = "https://github.com/tokio-rs/console"
|
|
#rev = "926de99ce4cbfd02c87190f9ec5f1c60b5c305d5"
|
|
|
|
[features]
|
|
#tokio-console = ["console-subscriber", "tracing-subscriber/registry"]
|
|
vendored-openssl = ["openssl-sys/vendored"]
|
|
check_example_domains = ["lychee-lib/check_example_domains"]
|
|
|
|
# Unfortunately, it's not possible to automatically enable features
|
|
# for cargo test. See rust-lang/cargo#2911.
|
|
# As a workaround we introduce a new feature to allow example domains
|
|
# in integration tests.
|
|
[[test]]
|
|
name = "cli"
|
|
path = "tests/cli.rs"
|
|
required-features = ["check_example_domains"]
|