Crates.io | serve-files |
lib.rs | serve-files |
version | 1.0.0 |
source | src |
created_at | 2022-10-10 02:42:31.824256 |
updated_at | 2022-10-10 02:42:31.824256 |
description | Simplest local files server! |
homepage | https://github.com/dreisss/serve-files |
repository | https://github.com/dreisss/serve-files |
max_upload_size | |
id | 684320 |
size | 17,527 |
Simplest local files server. Serve files in a indicated address. Run as below:
serve localhost:8000 example.html
This program has the following inputs:
serve address file_to_serve [other_files...]
First, if you don't have rust installed, install it. After installation follow the steps:
You can install it directly using crates.io by running the commands below:
cargo install serve-files
or, install from source code by running:
git clone https://github.com/dreisss/serve-files.git
cd serve-files
cargo install --path .
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.