Skip to main content

static_file_resolver/
lib.rs

1//! static-file-resolver
2//!
3//! A library that resolves the file a request asks for under a root
4//! directory. It refuses a path that climbs out of the root, so a request
5//! cannot reach a file the root does not hold.
6
7mod r#const;
8mod r#impl;
9mod r#struct;
10
11pub use r#struct::*;
12
13pub use lombok_macros::*;
14
15pub(crate) use r#const::*;
16
17use std::path::{Path, PathBuf};