
✨ Features: • HTTP/1.1, HTTP/2, and HTTP/3 support with proper architecture • Reverse proxy with advanced load balancing (round-robin, least-conn, etc.) • Static file serving with content-type detection and security • Revolutionary file sync system with WebSocket real-time updates • Enterprise-grade health monitoring (active/passive checks) • TLS/HTTPS with ACME/Let's Encrypt integration • Dead simple JSON configuration + full Caddy v2 compatibility • Comprehensive test suite (72 tests passing) 🏗️ Architecture: • Rust-powered async performance with zero-cost abstractions • HTTP/3 as first-class citizen with shared routing core • Memory-safe design with input validation throughout • Modular structure for easy extension and maintenance 📊 Status: 95% production-ready 🧪 Test Coverage: 72/72 tests passing (100% success rate) 🔒 Security: Memory safety + input validation + secure defaults Built with ❤️ in Rust - Start simple, scale to enterprise!
47 lines
978 B
TOML
47 lines
978 B
TOML
[package]
|
|
name = "file-sync"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
authors = ["Caddy-RS Contributors"]
|
|
description = "Shared file synchronization library for Caddy-RS"
|
|
license = "Apache-2.0"
|
|
|
|
[dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
|
|
# HTTP client
|
|
hyper = { version = "1.0", features = ["client", "http1", "http2"] }
|
|
hyper-util = { version = "0.1", features = ["client", "client-legacy", "tokio", "http1", "http2"] }
|
|
http-body-util = "0.1"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# File system operations
|
|
notify = "6.0"
|
|
sha2 = "0.10"
|
|
walkdir = "2.0"
|
|
|
|
# Time handling
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
|
|
# Utilities
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
urlencoding = "2.1"
|
|
url = "2.0"
|
|
|
|
# WebSocket support
|
|
tokio-tungstenite = "0.20"
|
|
futures-util = "0.3"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4" |