rocket_contrib

Module serve

Source
Expand description

Custom handler and options for static file serving.

See the StaticFiles type for further details.

§Enabling

This module is only available when the serve feature is enabled. Enable it in Cargo.toml as follows:

[dependencies.rocket_contrib]
version = "0.4.11"
default-features = false
features = ["serve"]

Structs§