2025-03-17 21:28:08 +01:00
|
|
|
[package]
|
|
|
|
|
name = "oxicloud"
|
2026-05-15 17:56:04 +00:00
|
|
|
version = "0.6.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-04-14 23:17:39 +02:00
|
|
|
axum = { version = "0.8.9", features = ["multipart", "http1", "http2", "tokio", "macros"] }
|
|
|
|
|
tokio = { version = "1.52.0", features = ["rt-multi-thread", "macros", "io-util", "net", "time", "sync", "fs"] }
|
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-03-02 23:58:15 +01:00
|
|
|
tempfile = "3.26.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"] }
|
2026-03-02 23:58:15 +01:00
|
|
|
chrono = { version = "0.4.44", 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"
|
2026-03-02 23:58:15 +01:00
|
|
|
futures = "0.3.32"
|
2025-03-27 23:41:56 +01:00
|
|
|
async-stream = "0.3.6"
|
2026-06-01 15:35:24 +02:00
|
|
|
async-trait = "0.1.83"
|
2025-03-17 21:28:08 +01:00
|
|
|
mime_guess = "2.0.5"
|
2026-04-27 00:50:12 +02:00
|
|
|
uuid = { version = "1.23.0", features = ["v4", "v7", "serde"] }
|
2026-02-02 23:56:40 +01:00
|
|
|
thiserror = "2.0.18"
|
2026-04-08 15:14:03 +03:00
|
|
|
|
2026-02-02 23:56:40 +01:00
|
|
|
mockall = { version = "0.14.0", optional = true }
|
2026-03-09 15:29:24 -04:00
|
|
|
sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio", "tls-rustls", "chrono", "uuid", "json", "migrate"] }
|
2026-03-02 23:58:15 +01:00
|
|
|
jsonwebtoken = { version = "10.3.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-03-02 23:58:15 +01:00
|
|
|
quick-xml = "0.39.2"
|
2026-02-14 01:37:03 +01:00
|
|
|
dotenvy = "0.15.7"
|
2026-04-14 23:17:39 +02:00
|
|
|
moka = { version = "0.12.15", features = ["future", "sync"] }
|
2026-02-03 17:59:04 +01:00
|
|
|
http-range-header = "0.4"
|
2026-04-14 23:17:39 +02:00
|
|
|
image = { version = "0.25.10", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
|
2026-04-08 15:14:03 +03:00
|
|
|
id3 = "1.14"
|
|
|
|
|
mp3-duration = "0.1"
|
2026-04-14 23:17:39 +02:00
|
|
|
kamadak-exif = "0.6.1"
|
|
|
|
|
md-5 = "0.11.0"
|
|
|
|
|
sha2 = "0.11.0"
|
2026-06-06 17:47:59 +02:00
|
|
|
unicode-normalization = "0.1.24"
|
2026-04-14 23:17:39 +02:00
|
|
|
blake3 = { version = "1.8.4", features = ["rayon", "mmap"] }
|
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-04-14 23:17:39 +02:00
|
|
|
percent-encoding = "2.3.2"
|
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-04-14 23:17:39 +02:00
|
|
|
rayon = "1.12.0"
|
2026-02-24 23:15:10 +01:00
|
|
|
infer = "0.19"
|
2026-04-14 23:17:39 +02:00
|
|
|
async-compression = { version = "0.4.41", features = ["tokio", "gzip"] }
|
2026-02-23 23:11:55 +01:00
|
|
|
async_zip = { version = "0.0.18", features = ["tokio", "deflate"] }
|
2026-04-14 23:17:39 +02:00
|
|
|
dashmap = "6.1.0"
|
|
|
|
|
socket2 = { version = "0.6.3", features = ["all"] }
|
2026-03-04 14:02:15 +01:00
|
|
|
urlencoding = "2.1.3"
|
2026-04-14 23:17:39 +02:00
|
|
|
utoipa = { version = "5.4.0", features = ["axum_extras", "uuid", "chrono"] }
|
|
|
|
|
aws-sdk-s3 = "1.129.0"
|
|
|
|
|
aws-config = { version = "1.8.15", features = ["behavior-version-latest"] }
|
|
|
|
|
aws-smithy-types = "1.4.7"
|
2026-04-15 08:04:36 +02:00
|
|
|
azure_core = { version = "0.21", default-features = false, features = ["enable_reqwest_rustls", "hmac_rust"] }
|
|
|
|
|
azure_storage = { version = "0.21", default-features = false, features = ["enable_reqwest_rustls", "hmac_rust"] }
|
|
|
|
|
azure_storage_blobs = { version = "0.21", default-features = false, features = ["enable_reqwest_rustls", "hmac_rust"] }
|
2026-04-14 23:17:39 +02:00
|
|
|
aes-gcm = "0.10.3"
|
|
|
|
|
lru = "0.16.4"
|
2026-06-11 13:06:33 +00:00
|
|
|
fastcdc = { version = "4.0.0", features = ["tokio"] }
|
2026-06-01 21:14:24 +02:00
|
|
|
lettre = { version = "0.11.18", default-features = false, features = ["smtp-transport", "tokio1-rustls-tls", "rustls-native-certs", "builder"] }
|
2026-06-02 10:47:37 +02:00
|
|
|
idna = "1.1"
|
2026-06-03 13:18:05 +02:00
|
|
|
smol_str = { version = "0.3.2", features = ["serde"] }
|
|
|
|
|
accept-language = "3.1.0"
|
2026-06-03 13:35:51 +02:00
|
|
|
askama = "0.16.0"
|
2026-06-11 15:16:03 +00:00
|
|
|
tantivy = "0.26.1"
|
|
|
|
|
zip = { version = "8.6.0", default-features = false, features = ["deflate"] }
|
|
|
|
|
pdf-extract = "0.10.0"
|
2025-03-19 00:44:27 +01:00
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = []
|
|
|
|
|
test_utils = ["mockall"]
|
2026-03-04 21:40:38 +01:00
|
|
|
integration_tests = []
|
2026-03-04 23:55:08 +01:00
|
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(integration_tests)'] }
|
2025-03-19 00:44:27 +01:00
|
|
|
|
2026-03-29 18:49:10 +02:00
|
|
|
[[bin]]
|
|
|
|
|
name = "generate-openapi"
|
|
|
|
|
path = "src/bin/generate-openapi.rs"
|
|
|
|
|
|
2026-06-06 17:47:59 +02:00
|
|
|
[[bin]]
|
|
|
|
|
name = "migrate-nfc-filenames"
|
|
|
|
|
path = "src/bin/migrate-nfc-filenames.rs"
|
|
|
|
|
|
2026-03-08 13:10:38 +01:00
|
|
|
[build-dependencies]
|
2026-04-14 23:17:39 +02:00
|
|
|
oxc_allocator = "0.125.0"
|
|
|
|
|
oxc_parser = "0.125.0"
|
2026-05-28 13:23:17 +02:00
|
|
|
oxc_semantic = "0.125.0"
|
2026-04-14 23:17:39 +02:00
|
|
|
oxc_span = "0.125.0"
|
|
|
|
|
oxc_codegen = "0.125.0"
|
|
|
|
|
oxc_minifier = "0.125.0"
|
|
|
|
|
lightningcss = "1.0.0-alpha.71"
|
2026-03-08 13:10:38 +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
|