Crates.io | blockless-hyper-file |
lib.rs | blockless-hyper-file |
version | 0.1.2 |
source | src |
created_at | 2023-05-21 23:57:31.436863 |
updated_at | 2023-05-23 03:02:06.215663 |
description | This hyper static file crate. |
homepage | |
repository | https://github.com/blocklessnetwork/blockless-hyper-file |
max_upload_size | |
id | 870201 |
size | 48,524 |
This crate is implemention of the http file range for hyper extension.
let builder = Server::bind(&addr);
let server = builder.serve(FileServiceMaker::new("."));
server.await.unwrap();