Skip to main content

Crate sark

Crate sark 

Source

Re-exports§

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

Modules§

error
fs
Static file handler with a size-bounded, thread-local cache. serve reads synchronously; serve_async reads via the dope file manifold. With precompressed_br/precompressed_gzip, sibling .br/.gz files are served per Accept-Encoding. cache_capacity(0) disables caching.
http
middleware
request
routes
service
test_util
utils

Macros§

body

Structs§

Build
Dispatcher
EmptyState
HttpsCfg
ServerCfg
Timer

Traits§

TimerHost