Skip to main content

Module settings

Module settings 

Source
Expand description

Module that provides all settings of SWS.

Re-exports§

pub use cli::Commands;
pub use file::CompressionLevel;compression-brotli or compression-deflate or compression-gzip or compression-zstd or compression

Modules§

cli
The server CLI options.
file
The server configuration file options (manifest)

Structs§

Advanced
The advanced file options.
Headers
The headers file options.
Redirects
The Redirects file options.
Rewrites
The Rewrites file options.
Settings
The full server CLI and File options.
VirtualHosts
The VirtualHosts file options.

Functions§

build_placeholder_replacer
Build an AhoCorasick automaton for the placeholder patterns $0, $1, …, $N based on the number of capture groups in the given regex.