-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (42 loc) · 1.17 KB
/
Cargo.toml
File metadata and controls
55 lines (42 loc) · 1.17 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
[package]
name = "silex-server"
version = "0.1.0"
edition = "2021"
description = "Silex website builder server - Rust implementation"
license = "AGPL-3.0-or-later"
authors = ["Silex Labs Foundation"]
[dependencies]
# Web framework
axum = { version = "0.8", features = ["macros", "multipart"] }
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip", "fs", "normalize-path"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Async traits
async-trait = "0.1"
# Error handling
thiserror = "2"
anyhow = "1"
# Session management
tower-sessions = "0.15"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Configuration
dotenvy = "0.15"
# Time/dates
chrono = { version = "0.4", features = ["serde"] }
# Utilities
uuid = { version = "1", features = ["v4", "serde"] }
whoami = "2"
mime_guess = "2"
# Embedded frontend assets (optional, for single-binary distribution)
rust-embed = { version = "8", optional = true }
[features]
default = []
embed-frontend = ["rust-embed"]
[dev-dependencies]
tempfile = "3"
tokio-test = "0.4"