2025-03-17 21:28:08 +01:00
|
|
|
[package]
|
|
|
|
|
name = "oxicloud"
|
2026-02-26 00:59:56 +01:00
|
|
|
version = "0.5.0"
|
2026-02-13 23:00:16 +01:00
|
|
|
edition = "2024"
|
2026-02-13 20:47:26 +01:00
|
|
|
default-run = "oxicloud"
|
2025-03-17 21:28:08 +01:00
|
|
|
|
2025-03-26 18:33:22 +01:00
|
|
|
|
2025-03-17 21:28:08 +01:00
|
|
|
[dependencies]
|
2026-03-01 21:47:39 +01:00
|
|
|
mimalloc = { version = "0.1.48", default-features = false }
|
2026-02-02 23:56:40 +01:00
|
|
|
axum = { version = "0.8.8", features = ["multipart", "http1", "tokio", "macros"] }
|
|
|
|
|
tokio = { version = "1.49.0", features = ["full"] }
|
2026-02-23 23:11:55 +01:00
|
|
|
tokio-util = { version = "0.7.18", features = ["io", "codec", "compat"] }
|
2026-02-02 23:56:40 +01:00
|
|
|
tokio-stream = { version = "0.1.18", features = ["fs"] }
|
2026-02-14 01:37:03 +01:00
|
|
|
bytes = "1.11.1"
|
2026-02-11 14:09:40 +01:00
|
|
|
tempfile = "3.25.0"
|
2026-02-02 23:56:40 +01:00
|
|
|
tower = "0.5.3"
|
2026-02-22 23:28:03 +01:00
|
|
|
tower-http = { version = "0.6.8", features = ["fs", "compression-gzip", "compression-br", "trace", "cors", "add-extension", "request-id", "set-header", "limit"] }
|
2026-02-08 13:40:23 +01:00
|
|
|
flate2 = "1.1.9"
|
2026-02-02 23:56:40 +01:00
|
|
|
tracing = "0.1.44"
|
|
|
|
|
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
|
|
|
|
|
chrono = { version = "0.4.43", features = ["serde"] }
|
2025-04-13 01:04:04 +02:00
|
|
|
http-body = "1.0.1"
|
2026-02-02 23:56:40 +01:00
|
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0.149"
|
2025-03-17 21:28:08 +01:00
|
|
|
futures = "0.3.31"
|
2025-03-27 23:41:56 +01:00
|
|
|
async-stream = "0.3.6"
|
2025-03-17 21:28:08 +01:00
|
|
|
mime_guess = "2.0.5"
|
2026-02-02 23:56:40 +01:00
|
|
|
uuid = { version = "1.20.0", features = ["v4", "serde"] }
|
|
|
|
|
async-trait = "0.1.89"
|
|
|
|
|
thiserror = "2.0.18"
|
|
|
|
|
mockall = { version = "0.14.0", optional = true }
|
|
|
|
|
sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio", "tls-rustls", "chrono", "uuid", "json"] }
|
2026-02-08 13:40:23 +01:00
|
|
|
anyhow = "1.0.101"
|
|
|
|
|
jsonwebtoken = { version = "10.1.0", features = ["rust_crypto"] }
|
2025-03-20 09:22:31 +01:00
|
|
|
argon2 = "0.5.3"
|
2026-02-11 17:59:18 +01:00
|
|
|
rand_core = { version = "0.6", features = ["std", "getrandom"] }
|
2026-02-02 23:56:40 +01:00
|
|
|
hyper = { version = "1.8.1", features = ["full"] }
|
|
|
|
|
quick-xml = "0.39.0"
|
2026-02-14 01:37:03 +01:00
|
|
|
dotenvy = "0.15.7"
|
2026-02-08 13:40:23 +01:00
|
|
|
lru = "0.16.3"
|
2026-02-22 14:12:53 +01:00
|
|
|
moka = { version = "0.12", features = ["future", "sync"] }
|
2026-02-03 17:59:04 +01:00
|
|
|
http-range-header = "0.4"
|
|
|
|
|
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
|
|
|
|
|
md5 = "0.8.0"
|
|
|
|
|
sha2 = "0.10.9"
|
2026-03-01 21:47:39 +01:00
|
|
|
blake3 = "1.8.3"
|
2026-02-03 17:59:04 +01:00
|
|
|
hex = "0.4.3"
|
2026-02-08 13:40:23 +01:00
|
|
|
http-body-util = "0.1.3"
|
2026-03-01 20:34:12 +01:00
|
|
|
percent-encoding = "2.3"
|
2026-02-10 20:32:32 +01:00
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-webpki-roots"] }
|
|
|
|
|
base64 = "0.22.1"
|
2026-02-13 21:58:54 +01:00
|
|
|
fs2 = "0.4"
|
2026-02-16 13:10:44 +01:00
|
|
|
rayon = "1.10"
|
2026-02-24 23:15:10 +01:00
|
|
|
infer = "0.19"
|
2026-02-24 11:47:21 +01:00
|
|
|
async-compression = { version = "0.4", features = ["tokio", "gzip"] }
|
2026-02-23 23:11:55 +01:00
|
|
|
async_zip = { version = "0.0.18", features = ["tokio", "deflate"] }
|
2026-02-25 23:31:51 +01:00
|
|
|
dashmap = "6"
|
2025-03-19 00:44:27 +01:00
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = []
|
|
|
|
|
test_utils = ["mockall"]
|
2025-04-09 00:21:20 +02:00
|
|
|
migrations = ["sqlx/migrate"]
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "migrate"
|
|
|
|
|
path = "src/bin/migrate.rs"
|
|
|
|
|
required-features = ["migrations"]
|
2025-03-19 00:44:27 +01:00
|
|
|
|
2025-03-26 11:04:07 +01:00
|
|
|
[profile.release]
|
2025-03-26 18:33:22 +01:00
|
|
|
lto = "fat"
|
2025-03-26 11:04:07 +01:00
|
|
|
codegen-units = 1
|
|
|
|
|
opt-level = 3
|
|
|
|
|
panic = "abort"
|
|
|
|
|
strip = true
|
|
|
|
|
|
2025-03-26 18:33:22 +01:00
|
|
|
[profile.dev]
|
|
|
|
|
opt-level = 1
|
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
|
lto = "fat"
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
opt-level = 3
|