OXYGENHUB
◆ v0.9.21 oxygenhub / Cargo.toml
3.0 KiB · last changed OxygenHub 0.9.21: a phone as the second factor, and the sudo step (refs #356) 3 days ago source blame history raw
1
[workspace]
2
members = ["crates/hub", "crates/hub-api", "crates/oh"]
3
# oxygenflow as a pinned subrepo (oxy submodule), and oxygen as oxygenflow's
4
# own pinned subrepo inside it: one oxygen, the one oxygenflow was tested
5
# with. They are workspaces of their own.
6
exclude = ["deps"]
7
resolver = "2"
8
9
[workspace.package]
10
version = "0.9.21"
11
edition = "2021"
12
license = "MIT OR Apache-2.0"
13
authors = ["Andy McCall <[email protected]>"]
14
repository = "https://oxygenhub.io/andymccall/oxygenhub"
15
16
[workspace.dependencies]
17
oxy-core = { path = "deps/oxygenflow/deps/oxygen/crates/oxy-core" }
18
oxy-server = { path = "deps/oxygenflow/deps/oxygen/crates/oxy-server" }
19
oxy-strata = { path = "deps/oxygenflow/deps/oxygen/crates/oxy-strata" }
20
hub-api = { path = "crates/hub-api" }
21
flow-core = { path = "deps/oxygenflow/crates/flow-core" }
22
jet = { path = "deps/oxygenflow/crates/jet" }
23
24
anyhow = "1"
25
thiserror = "2"
26
serde = { version = "1", features = ["derive"] }
27
serde_json = "1"
28
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "time", "signal", "fs", "process", "io-util"] }
29
axum = { version = "0.8", features = ["macros", "form", "query", "multipart"] }
30
axum-server = { version = "0.8", default-features = false, features = ["tls-rustls-no-provider"] }
31
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
32
tower-http = { version = "0.6", features = ["trace", "compression-gzip", "set-header", "limit"] }
33
askama = "0.14"
34
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] }
35
tracing = "0.1"
36
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
37
clap = { version = "4", features = ["derive", "env"] }
38
toml = "0.8"
39
time = { version = "0.3", features = ["formatting", "macros"] }
40
pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
41
ammonia = "4"
42
syntect = { version = "5", default-features = false, features = ["default-fancy"] }
43
rcgen = "0.14"
44
hex = "0.4"
45
rand = "0.8"
46
similar = "2"
47
argon2 = { version = "0.5", features = ["std"] }
48
axum-extra = { version = "0.10", features = ["cookie", "form"] }
49
hmac = "0.12"
50
sha1 = "0.10"
51
base32 = "0.5"
52
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
53
subtle = "2"
54
blake3 = "1"
55
tar = "0.4"
56
zstd = "0.13"
57
zip = { version = "2", default-features = false, features = ["deflate"] }
58
lettre = { version = "0.11", default-features = false, features = ["tokio1", "tokio1-rustls-tls", "smtp-transport", "builder"] }
59
regex = "1"
60
tempfile = "3"
61
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
62
schemars = "1"
63
futures = "0.3"
64
tokio-stream = { version = "0.1", features = ["sync"] }
65
66
[profile.release]
67
debug = 1
68
69
# The cloud stores' two patched dependencies, as oxygen patches them so
70
# the macOS cross build links (see their PATCHED.md in the pinned oxygen).
71
[patch.crates-io]
72
crc-fast = { path = "deps/oxygenflow/deps/oxygen/vendor/crc-fast" }
73
iana-time-zone = { path = "deps/oxygenflow/deps/oxygen/vendor/iana-time-zone" }