Skip to main content

Crate rust_serv

Crate rust_serv 

Source
Expand description

Rust HTTP Static Server

A high-performance, secure HTTP static file server built with Rust.

Re-exports§

pub use config::Config;
pub use config_reloader::ConfigDiff;
pub use config_reloader::ConfigReloader;
pub use config_reloader::ConfigWatcher;
pub use error::Error;
pub use error::Result;
pub use memory_cache::CacheConfig;
pub use memory_cache::CacheStats;
pub use memory_cache::CachedFile;
pub use memory_cache::MemoryCache;
pub use metrics::Counter;
pub use metrics::Gauge;
pub use metrics::Histogram;
pub use metrics::MetricsCollector;
pub use metrics::PrometheusExporter;
pub use server::Server;

Modules§

access_log
Access log persistence module
auto_tls
Auto TLS (Let’s Encrypt) module
basic_auth
Basic Authentication module
config
config_reloader
Configuration hot reload module
error
error_pages
Custom error pages module
file_service
file_upload
File upload module
handler
management
Management API module
memory_cache
Memory cache module for high-performance file caching
metrics
Metrics collection and Prometheus export
middleware
mime_types
path_security
proxy
Reverse proxy module
server
throttle
Bandwidth throttling module
utils
vhost
Virtual Host module