- Add hostname-based request routing for multiple capsules per server - Parse virtual host configs from TOML sections ([hostname]) - Implement per-host certificate and content isolation - Add comprehensive virtual host testing and validation - Update docs and examples for multi-host deployments This enables Pollux to serve multiple Gemini domains from one instance, providing the foundation for multi-tenant Gemini hosting.
22 lines
No EOL
539 B
TOML
22 lines
No EOL
539 B
TOML
[package]
|
|
name = "pollux"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
description = "A Gemini server for serving static content"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
rustls = "0.21"
|
|
rustls-pemfile = "1.0"
|
|
tokio-rustls = "0.24"
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
path-security = "0.2"
|
|
toml = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
urlencoding = "2.1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "ansi"] }
|
|
time = "0.3"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3" |