Skip to main content

Crate sark

Crate sark 

Source

Re-exports§

pub use request::Request;
pub use sark_json as json;

Modules§

error
fs
Per-request disk static handler (no cache/preload/mmap). Extension maps to Content-Type. precompressed_br / precompressed_gzip serve sibling <file>.br / <file>.gz when Accept-Encoding allows, sending the compressed bytes with Content-Encoding + Vary and the original file’s Content-Type.
http
middleware
request
routes
service
test_util
utils

Macros§

body

Structs§

Build
Dispatcher
EmptyState
HttpsCfg
ServerCfg
Timer

Traits§

TimerHost