artifactview/Cargo.toml

97 lines
2.5 KiB
TOML

[package]
name = "artifactview"
version = "0.4.7"
edition = "2021"
authors = ["ThetaDev <thetadev@magenta.de>"]
license = "MIT"
repository = "https://codeberg.org/ThetaDev/artifactview"
description = "Browse GitHub/Gitea/Forgejo Actions artifacts"
[features]
default = ["native-tls"]
# Reqwest TLS options
native-tls = ["reqwest/native-tls"]
rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]
[dependencies]
async_zip = { path = "crates/async_zip", features = [
"tokio",
"tokio-fs",
"deflate",
] }
axum = { version = "0.7.5", default-features = false, features = [
"http1",
"http2",
"json",
"query",
"tokio",
"tracing",
] }
axum-extra = { version = "0.9.3", features = ["typed-header"] }
comrak = { version = "0.32.0", default-features = false }
dotenvy = "0.15.7"
envy = { path = "crates/envy" }
flate2 = "1.0.30"
futures-lite = "2.3.0"
governor = "0.8.0"
headers = "0.4.0"
http = "1.1.0"
humansize = "2.1.3"
junit-parser = { path = "crates/junit-parser" }
mime = "0.3.17"
mime_guess = "2.0.4"
once_cell = "1.19.0"
path_macro = "1.0.0"
percent-encoding = "2.3.1"
pin-project = "1.1.5"
quick_cache = "0.6.0"
rand = "0.8.5"
regex = "1.10.4"
reqwest = { version = "0.12.4", default-features = false, features = [
"json",
"stream",
] }
secrecy = { version = "0.10.0", features = ["serde"] }
serde = { version = "1.0.203", features = ["derive"] }
serde-env = "0.2.0"
serde-hex = "0.1.0"
serde_json = "1.0.117"
serde_urlencoded = "0.7.1"
syntect = { version = "5.2.0", default-features = false, features = [
"parsing",
"default-syntaxes",
"default-themes",
"html",
"regex-onig",
] }
thiserror = "2.0.0"
time = { version = "0.3.36", features = ["serde-human-readable", "macros"] }
tokio = { version = "1.37.0", features = ["macros", "fs", "rt-multi-thread"] }
tokio-util = { version = "0.7.11", features = ["io"] }
tower-http = { version = "0.6.0", features = ["trace", "set-header"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
url = "2.5.0"
yarte = { version = "0.15.7", features = ["json"] }
[build-dependencies]
yarte_helpers = "0.15.8"
[dev-dependencies]
axum-test = "16.0.0"
flate2 = "1.0.30"
httpdate = "1.0.3"
insta = { version = "1.39.0", features = ["json"] }
proptest = "1.4.0"
rstest = { version = "0.23.0", default-features = false }
scraper = "0.22.0"
temp_testdir = "0.2.3"
[workspace]
members = [".", "crates/*"]
resolver = "2"
[profile.release]
strip = true