-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
97 lines (83 loc) · 2.23 KB
/
Cargo.toml
File metadata and controls
97 lines (83 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[workspace]
members = ["migration", "crates/*"]
resolver = "2"
[workspace.package]
edition = "2024"
[workspace.dependencies]
# Web framework
axum = { version = "0.8", features = ["multipart", "ws"] }
axum-extra = { version = "0.10", features = ["typed-header"] }
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "fs"] }
# Database
sea-orm = { version = "1", features = [
"sqlx-sqlite",
"sqlx-postgres",
"runtime-tokio-rustls",
"macros",
"with-uuid",
"with-chrono",
] }
sea-orm-migration = { version = "1" }
# Storage
opendal = { version = "0.51", features = ["services-fs", "services-s3"] }
# Auth
argon2 = "0.5"
jsonwebtoken = "9"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# WebDAV
dav-server = "0.11"
headers = "0.4"
http-body-util = "0.1"
bytes = "1"
# Image processing
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
webp = "0.3"
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Regex
regex = "1"
# Utils
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
thiserror = "2"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
sha2 = "0.10"
hex = "0.4"
futures = "0.3"
dashmap = "6"
rand = "0.9"
base64 = "0.22"
# Internal crates
mdp-common = { path = "crates/common" }
mdp-auth = { path = "crates/auth" }
mdp-storage = { path = "crates/storage" }
mdp-core = { path = "crates/core" }
mdp-api = { path = "crates/api" }
mdp-webdav = { path = "crates/webdav" }
migration = { path = "migration" }
[package]
name = "mediadrive-pro"
version = "0.1.0"
edition.workspace = true
[dependencies]
mdp-common.workspace = true
mdp-core.workspace = true
mdp-api.workspace = true
mdp-storage.workspace = true
mdp-webdav.workspace = true
migration.workspace = true
axum.workspace = true
sea-orm.workspace = true
sea-orm-migration = { workspace = true, features = ["runtime-tokio-rustls"] }
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
dashmap.workspace = true
tower-http.workspace = true