Rust's Rocket set to self serve the files in the local directory

david 1d93cc4738 Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours
src 22381e319e Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours
.gitignore 8243ccc767 Released a release version il y a 10 mois
Cargo.lock 22381e319e Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours
Cargo.toml 22381e319e Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours
LICENSE 22381e319e Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours
README.md 22381e319e Updated to v0.1.1, Cross-Platform & 'debug' feat il y a 2 jours

README.md

Self Serve

Rust's Rocket set to self serve the files in the local directory

Just give a port number via args (default 9000, i.e. selfserve 9009 for port 9009)

Confirmed to now work cross platform (v0.1.1)

Debug Feature (v0.1.1)

You can now enable the debug feature to gain access to /ls/<path..> (Gives a json payload of directories and files at given path, warning, it is unsafe as /ls/../ would access the above directory, just as /ls/~/ would as well, assuming a UNIX os)