forked from kubedoio/rustshare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
122 lines (103 loc) · 3.43 KB
/
Copy pathCargo.toml
File metadata and controls
122 lines (103 loc) · 3.43 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[workspace]
members = [
"backend/crates/core",
"backend/crates/storage",
"backend/crates/auth",
"backend/crates/crypto",
"backend/crates/infrastructure",
"backend/server",
"apps/desktop",
"crates/*",
]
resolver = "2"
[workspace.package]
version = "0.5.0"
edition = "2021"
rust-version = "1.95.0"
authors = ["RustShare Contributors"]
license = "Apache-2.0"
description = "A modern file-sharing and sync platform for technical teams"
repository = "https://github.com/kubedoio/rustshare"
homepage = "https://github.com/kubedoio/rustshare"
documentation = "https://github.com/kubedoio/rustshare/docs"
readme = "README.md"
keywords = ["file-sharing", "sync", "self-hosted", "rust", "storage"]
categories = ["filesystem", "web-programming"]
[workspace.dependencies]
# Async runtime
tokio = { version = "1.52", features = ["rt-multi-thread", "macros", "sync", "time", "net", "io-util", "fs", "signal"] }
tokio-util = { version = "0.7", features = ["codec"] }
# Web framework
axum = { version = "0.8", features = ["macros"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "cors", "limit"] }
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json", "ipnetwork"] }
rusqlite = { version = "0.32", features = ["bundled", "chrono", "uuid"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "1.1"
# Crypto
argon2 = "0.5"
jsonwebtoken = { version = "10", features = ["rust_crypto"] }
rand = "0.10"
sha2 = "0.11"
aes-gcm = "0.10"
base64 = { version = "0.22", features = ["alloc"] }
hmac = "0.13"
hex = "0.4"
# S3 client
aws-sdk-s3 = "1.17"
aws-config = "1.1"
# Pinned to avoid a breaking change in aws-smithy-types 1.5.0 that breaks
# aws-runtime 1.7.4 compilation. Remove once AWS SDK releases a compatible set.
aws-smithy-types = "=1.4.9"
time = "=0.3.47"
# Pinned to keep the root workspace (desktop/sync-engine crates) buildable;
# cargo update otherwise resolves an older turso_core that does not handle
# newer turso_parser enum variants.
turso_core = "=0.6.1"
# HTTP client
reqwest = { version = "0.12", features = ["json", "multipart", "stream", "rustls-tls"], default-features = false }
# Utilities
uuid = { version = "1.23", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1.0"
thiserror = "2.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
bytes = "1.5"
glob = "0.3"
url = "2.5"
# Async
tokio-tungstenite = { version = "0.29", features = ["rustls-tls-webpki-roots"] }
async-trait = "0.1"
futures = "0.3"
futures-util = "0.3"
# File system
notify = { version = "8.2", features = ["macos_fsevent"] }
walkdir = "2.5"
directories = "6.0"
pathdiff = "0.2"
# Configuration
clap = { version = "4.6", features = ["derive", "env"] }
dirs = "6.0"
# Security
keyring = "4.0"
# Process management
daemonize = "0.5"
nix = { version = "0.31", features = ["process", "signal"] }
# Time serialization
humantime-serde = "1.1"
# OpenAPI generation
utoipa = { version = "5.0", features = ["uuid", "chrono"] }
utoipa-swagger-ui = { version = "9.0", features = ["axum"] }
# Testing
mockall = "0.14"
tempfile = "3.10"
validator = { version = "0.20", features = ["derive"] }
windows = { version = "0.62", features = ["Win32_Storage_CloudFilters", "Win32_Foundation", "Win32_System_IO", "Win32_System_SystemServices", "Win32_Security"] }
[profile.release]
opt-level = 3
lto = true