OXYGENHUB
◆ v0.9.19 oxygenhub / crates / hub / Cargo.toml
2.6 KiB · last changed Push protection: refuse a push that adds what looks like a secret 17 days ago source blame history raw
d23464c0 Andy McCall ↶ 1
[package]
2
name = "oxygenhub"
3
description = "A forge for Oxygen repositories: hosting, browsing, review, issues and releases"
4
version.workspace = true
5
edition.workspace = true
6
license.workspace = true
7
authors.workspace = true
8
default-run = "oxygenhub"
9
10
[[bin]]
11
name = "oxygenhub"
12
path = "src/main.rs"
13
14
[dependencies]
0b203bbf Andy McCall ↶ 15
# JUnit XML test reports from Flow jobs (oxygenhub#114).
16
quick-xml = "0.42"
65be9f9c Andy McCall ↶ 17
# Function boundaries on file pages (hub spec §6.6): the grammars of the
18
# languages the Oxygen projects are written in.
19
tree-sitter = "0.27"
20
tree-sitter-rust = "0.24"
21
tree-sitter-typescript = "0.23"
22
tree-sitter-python = "0.25"
23
tree-sitter-bash = "0.25"
d23464c0 Andy McCall ↶ 24
oxy-core.workspace = true
25
oxy-server.workspace = true
1f78655a Andy McCall ↶ 26
oxy-strata.workspace = true
d23464c0 Andy McCall ↶ 27
hub-api.workspace = true
42fa9554 Andy McCall ↶ 28
flow-core.workspace = true
92a797b2 Andy McCall ↶ 29
jet.workspace = true
d23464c0 Andy McCall ↶ 30
anyhow.workspace = true
31
thiserror.workspace = true
32
serde.workspace = true
33
serde_json.workspace = true
34
tokio.workspace = true
35
axum.workspace = true
36
axum-server.workspace = true
37
rustls.workspace = true
38
tower-http.workspace = true
39
askama.workspace = true
40
sqlx.workspace = true
41
tracing.workspace = true
a160b98f Andy McCall ↶ 42
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
d23464c0 Andy McCall ↶ 43
tracing-subscriber.workspace = true
44
clap.workspace = true
45
toml.workspace = true
46
time.workspace = true
47
pulldown-cmark.workspace = true
48
ammonia.workspace = true
49
syntect.workspace = true
50
rcgen.workspace = true
51
hex.workspace = true
52
rand.workspace = true
53
similar.workspace = true
19bb31ff Andy McCall ↶ 54
argon2.workspace = true
55
axum-extra.workspace = true
56
hmac.workspace = true
57
sha1.workspace = true
58
base32.workspace = true
59
qrcode.workspace = true
60
subtle.workspace = true
61
blake3.workspace = true
3f4b0ea6 Andy McCall ↶ 62
tar.workspace = true
63
zstd.workspace = true
ea85398a Andy McCall ↶ 64
# apt repository (oxygenhub#85): .deb control archives, index hashes.
65
flate2 = "1"
66
lzma-rs = "0.3"
67
sha2 = "0.10"
68
md-5 = "0.10"
d7ce41ac Andy McCall ↶ 69
# A job's scope globs (oxygen#59).
70
globset = "0.4"
3f4b0ea6 Andy McCall ↶ 71
zip.workspace = true
18e381ea Andy McCall ↶ 72
lettre.workspace = true
73
regex.workspace = true
0ee5c3fb Andy McCall ↶ 74
# Push protection's keyword prefilter (oxygenhub#268); already in the tree through regex.
75
memchr = "2"
b64e2537 Andy McCall ↶ 76
reqwest.workspace = true
e71846aa Andy McCall ↶ 77
# Seals assistant tokens at rest (hub spec §13.4); already in the tree through rustls.
78
ring = "0.17"
d1727c57 Andy McCall ↶ 79
# RS256 for the OIDC job identity (hub spec §13.5); vendored already.
80
rsa = { version = "0.9", features = ["sha2"] }
b64e2537 Andy McCall ↶ 81
futures.workspace = true
82
tokio-stream.workspace = true
d23464c0 Andy McCall ↶ 83
3b1bc27f Andy McCall 84
[features]
85
# PostgreSQL instead of SQLite (#211): `[database] url` in hub.toml.
86
postgres = ["sqlx/postgres"]
87
d23464c0 Andy McCall ↶ 88
[dev-dependencies]
89
tempfile.workspace = true
90
tower = { version = "0.5", features = ["util"] }
91
http-body-util = "0.1"
b2107275 Andy McCall ↶ 92
93
[target.'cfg(unix)'.dependencies]
94
# The allocator's arenas and returning freed memory (main.rs).
95
libc = "0.2"