├── .github └── workflows │ └── check.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── examples └── doc_server.rs ├── rustfmt.toml ├── src ├── body.rs ├── lib.rs ├── resolve.rs ├── response_builder.rs ├── service.rs ├── util │ ├── file_bytes_stream.rs │ ├── file_response_builder.rs │ ├── mod.rs │ └── requested_path.rs └── vfs.rs └── tests ├── hyper.rs └── static.rs /.github/workflows/check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/.github/workflows/check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/README.md -------------------------------------------------------------------------------- /examples/doc_server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/examples/doc_server.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2018" 2 | -------------------------------------------------------------------------------- /src/body.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/body.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/resolve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/resolve.rs -------------------------------------------------------------------------------- /src/response_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/response_builder.rs -------------------------------------------------------------------------------- /src/service.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/service.rs -------------------------------------------------------------------------------- /src/util/file_bytes_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/util/file_bytes_stream.rs -------------------------------------------------------------------------------- /src/util/file_response_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/util/file_response_builder.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/util/mod.rs -------------------------------------------------------------------------------- /src/util/requested_path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/util/requested_path.rs -------------------------------------------------------------------------------- /src/vfs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/src/vfs.rs -------------------------------------------------------------------------------- /tests/hyper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/tests/hyper.rs -------------------------------------------------------------------------------- /tests/static.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stephank/hyper-staticfile/HEAD/tests/static.rs --------------------------------------------------------------------------------