
All checks were successful
GBCI / build (push) Successful in 5m56s
- Added `jmap-client` dependency to Cargo.toml for JMAP email functionality. - Created a new `email` service to handle email listing via JMAP. - Refactored file upload and listing functionality into a dedicated `file` service. - Introduced `AppState` struct to manage shared application state, including MinIO client and configuration. - Updated main application to initialize and use the new services.
23 lines
607 B
TOML
23 lines
607 B
TOML
[package]
|
|
name = "gbserver"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Your Name <your.email@example.com>"]
|
|
description = "File server with MinIO integration"
|
|
license = "MIT"
|
|
repository = ""
|
|
|
|
[dependencies]
|
|
actix-web = "4"
|
|
actix-multipart = "0.6"
|
|
tokio = { version = "1", features = ["full"] }
|
|
log = "0.4"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["fmt"] }
|
|
dotenv = "0.15"
|
|
tempfile = "3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
minio = { git = "https://github.com/minio/minio-rs", branch = "master" }
|
|
tokio-stream = "0.1.17"
|
|
jmap-client = "0.3.2"
|