
- Add comprehensive HTTP/1.1 and HTTP/2 server support - Implement reverse proxy with load balancing - Add static file serving with proper MIME types - Create multi-port server management - Add TLS/HTTPS support with SNI and ACME - Implement authentication middleware framework - Add advanced routing and matchers system - Create file sync service foundation - Add metrics collection and health monitoring - Implement simple configuration format - Successfully tested with production-equivalent config Core features working: - Reverse proxy to localhost:3000 ✓ - Static file serving ✓ - Multi-port configuration ✓ - CORS headers and security ✓ - Simple config format detection ✓ Ready for production testing as Caddy replacement.
122 lines
2.4 KiB
TOML
122 lines
2.4 KiB
TOML
[package]
|
|
name = "quantum"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
authors = ["Quantum Contributors"]
|
|
description = "A next-generation web server written in Rust with enterprise cloud storage - the quantum leap beyond traditional reverse proxies"
|
|
license = "Apache-2.0"
|
|
homepage = "https://github.com/quantum-server/quantum"
|
|
repository = "https://github.com/quantum-server/quantum"
|
|
keywords = ["web-server", "reverse-proxy", "https", "http2", "cloud-storage"]
|
|
categories = ["web-programming::http-server", "network-programming", "filesystem"]
|
|
default-run = "quantum"
|
|
|
|
[workspace]
|
|
members = ["file-sync"]
|
|
|
|
[dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-util = "0.7"
|
|
|
|
# HTTP server/client
|
|
hyper = { version = "1.0", features = ["full", "http2"] }
|
|
hyper-util = { version = "0.1", features = ["full"] }
|
|
http-body-util = "0.1"
|
|
http = "1.0"
|
|
h2 = "0.4"
|
|
h3 = "0.0.8"
|
|
h3-quinn = "0.0.10"
|
|
quinn = "0.11"
|
|
bytes = "1.0"
|
|
|
|
# TLS and certificates
|
|
rustls = "0.23"
|
|
rustls-pki-types = "1.0"
|
|
tokio-rustls = "0.26"
|
|
rustls-pemfile = "2.0"
|
|
rcgen = "0.12"
|
|
rustls-acme = "0.10"
|
|
acme-lib = "0.9"
|
|
x509-parser = "0.16"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# Authentication
|
|
bcrypt = "0.15"
|
|
base64 = "0.22"
|
|
|
|
# Logging and tracing
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
# Time handling
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Configuration and CLI
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
|
|
# Utilities
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
url = "2.0"
|
|
|
|
# Metrics and monitoring
|
|
metrics = "0.22"
|
|
metrics-exporter-prometheus = "0.13"
|
|
|
|
# File watching for config reloads
|
|
notify = "6.0"
|
|
|
|
# Load balancing
|
|
rand = "0.8"
|
|
|
|
# Regular expressions
|
|
regex = "1.0"
|
|
|
|
# IP network parsing
|
|
ipnet = "2.9"
|
|
|
|
# Async traits
|
|
async-trait = "0.1"
|
|
|
|
# File sync shared crate
|
|
file-sync = { path = "file-sync" }
|
|
futures-util = "0.3.31"
|
|
async-stream = "0.3.6"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0"
|
|
|
|
[lib]
|
|
name = "quantum"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "quantum"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "sync-client"
|
|
path = "src/bin/sync-client.rs"
|
|
|
|
[[bin]]
|
|
name = "realtime-sync-client"
|
|
path = "src/bin/realtime-sync-client.rs"
|
|
|
|
[[bin]]
|
|
name = "caddy-import"
|
|
path = "src/bin/caddy-import.rs"
|
|
|
|
[[bin]]
|
|
name = "test-server"
|
|
path = "src/bin/test-server.rs"
|
|
|
|
[[bin]]
|
|
name = "minimal-test"
|
|
path = "src/bin/minimal-test.rs"
|