-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
126 lines (105 loc) · 2.79 KB
/
Cargo.toml
File metadata and controls
126 lines (105 loc) · 2.79 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
123
124
125
126
[package]
name = "rush-sync-server"
version = "0.3.9"
edition = "2021"
description = "Modern asynchronous TUI application with i18n and modular command system"
license = "GPL-3.0 OR LicenseRef-Commercial"
repository = "https://github.com/LEVOGNE/rush.sync.server"
readme = "README.md"
keywords = ["webserver", "actix-web", "server-management", "static-hosting"]
categories = ["command-line-utilities", "network-programming"]
include = [
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE",
"src/**",
"tests/**"
]
# =====================================================
# CORE DEPENDENCIES (NUR STABILE BASIS)
# =====================================================
[dependencies]
# Terminal & UI
crossterm = "0.27"
ratatui = "0.25"
unicode-segmentation = "1.10"
unicode-width = "0.1"
# Async Runtime
tokio = { version = "1.36", features = ["full"] }
# Serialization & Config
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# Logging
log = "0.4"
env_logger = "0.11"
# Utilities
rust-embed = "8"
strip-ansi-escapes = "0.1.1"
regex = "1"
walkdir = "2"
async-trait = "0.1"
# Server
actix-web = { version = "4.4", features = ["rustls-0_21"] }
actix-rt = "2.10"
uuid = { version = "1.0", features = ["v4", "serde"] }
tokio-util = "0.7"
futures = "0.3"
futures-util = "0.3"
flate2 = "1.0"
opener = "0.7"
reqwest = { version = "0.11", features = ["json"] }
notify = "6.0"
actix-web-actors = "4.2"
actix = "0.13"
actix-cors = "0.7"
# TLS/HTTPS Support
rustls = "0.21"
rustls-pemfile = "1.0"
rcgen = "0.11"
ring = "0.17"
base64 = "0.22"
time = { version = "0.3", features = ["macros"] }
# NEU für Reverse Proxy:
hyper = { version = "0.14", features = ["full"] }
tokio-rustls = "0.24"
include_dir = "0.7"
sysinfo = { version = "0.30", features = ["multithread"], optional = true }
libc = "0.2"
# =====================================================
# OPTIONAL FEATURES (für später)
# =====================================================
# SCSS für Themes
sass-rs = { version = "0.2", optional = true }
chrono = { version = "0.4.41", features = ["serde"] }
dotenvy = "0.15"
# =====================================================
# FEATURE FLAGS
# =====================================================
[features]
default = []
scss = ["sass-rs"]
memory = ["dep:sysinfo"]
# =====================================================
# BUILD CONFIGURATION
# =====================================================
[[bin]]
name = "rush-sync"
path = "src/main.rs"
[lib]
name = "rush_sync_server"
path = "src/lib.rs"
# =====================================================
# PERFORMANCE & OPTIMIZATION
# =====================================================
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true
overflow-checks = true