OXYGENHUB
# 36e5a9c15a84 oxygenhub / Cargo.toml
3.0 KiB · last changed A repository can live in its owner's bucket 1 month 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.4.0"
11
edition = "2021"
12
license = "MIT OR Apache-2.0"
13
authors = ["Andy McCall <[email protected]>"]
14
repository = "https://earth.andymccall.xyz:7343/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
23
anyhow = "1"
24
thiserror = "2"
25
serde = { version = "1", features = ["derive"] }
26
serde_json = "1"
27
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "time", "signal", "fs", "process", "io-util"] }
28
axum = { version = "0.8", features = ["macros", "form", "query", "multipart"] }
29
axum-server = { version = "0.8", default-features = false, features = ["tls-rustls-no-provider"] }
30
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
31
tower-http = { version = "0.6", features = ["trace", "compression-gzip", "set-header", "limit"] }
32
askama = "0.14"
33
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] }
34
tracing = "0.1"
35
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
36
clap = { version = "4", features = ["derive", "env"] }
37
toml = "0.8"
38
time = { version = "0.3", features = ["formatting", "macros"] }
39
pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
40
ammonia = "4"
41
syntect = { version = "5", default-features = false, features = ["default-fancy"] }
42
rcgen = "0.14"
43
hex = "0.4"
44
rand = "0.8"
45
similar = "2"
46
argon2 = { version = "0.5", features = ["std"] }
47
axum-extra = { version = "0.10", features = ["cookie", "form"] }
48
hmac = "0.12"
49
sha1 = "0.10"
50
base32 = "0.5"
51
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
52
subtle = "2"
53
blake3 = "1"
54
tar = "0.4"
55
zstd = "0.13"
56
zip = { version = "2", default-features = false, features = ["deflate"] }
57
lettre = { version = "0.11", default-features = false, features = ["tokio1", "tokio1-rustls-tls", "smtp-transport", "builder"] }
58
regex = "1"
59
tempfile = "3"
60
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
61
schemars = "1"
62
futures = "0.3"
63
tokio-stream = { version = "0.1", features = ["sync"] }
64
65
[profile.release]
66
debug = 1
67
68
# The cloud stores' two patched dependencies, as oxygen patches them so
69
# the macOS cross build links (see their PATCHED.md in the pinned oxygen).
70
[patch.crates-io]
71
crc-fast = { path = "deps/oxygenflow/deps/oxygen/vendor/crc-fast" }
72
iana-time-zone = { path = "deps/oxygenflow/deps/oxygen/vendor/iana-time-zone" }