mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 07:37:26 -05:00
- Changed the CI workflow to run tests on self-hosted runners for better performance and flexibility. - Updated the test execution condition to trigger on push events and specific pull requests. - Consolidated test execution to run all tests in the workspace instead of a single test. - Modified the default features in Cargo.toml for the server and core applications to include "heif" and "ffmpeg" for enhanced media support. - Added metrics collection capabilities to the SyncProtocolHandler for improved monitoring of sync operations. - Refactored sync tests to streamline setup and improve clarity in test scenarios.
47 lines
915 B
TOML
47 lines
915 B
TOML
[package]
|
|
name = "sd-server"
|
|
version = "2.0.0-pre.1"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["heif", "ffmpeg"]
|
|
heif = ["sd-core/heif"]
|
|
ffmpeg = ["sd-core/ffmpeg"]
|
|
|
|
[dependencies]
|
|
# Spacedrive core
|
|
sd-core = { path = "../../core" }
|
|
|
|
# HTTP server
|
|
axum = "0.7"
|
|
axum-extra = { version = "0.9", features = ["typed-header"] }
|
|
http = "1.1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "signal", "sync", "io-util"] }
|
|
tower = "0.4"
|
|
tower-http = { version = "0.5", features = ["fs", "cors"] }
|
|
|
|
# Auth
|
|
secstr = "0.5"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Error handling
|
|
anyhow = "1"
|
|
thiserror = "1"
|
|
|
|
# CLI
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# Dev dependencies
|
|
tempfile = "3"
|
|
|
|
[[bin]]
|
|
name = "sd-server"
|
|
path = "src/main.rs"
|