aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prefer UTF8 for text reponses (fixes #263)Sven-Hendrik Haase2021-04-181-0/+1
| | | | | This should fix most encoding problems in most cases where text files are accessed on various locales.
* Change naming of uncompressed/compressed tarballsDean Li2021-04-181-6/+6
| | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
* Separate tar archive and tar flagsDean Li2021-04-111-1/+7
| | | | | | | It used to have one flag (-r) to enable both tar archive and tar. Now it has two flags [ -r: for tar, -g: for tar archive]. Related to #451
* Bump depsSven-Hendrik Haase2021-03-281-0/+1
|
* Refuse to start without explicit path if not attached to interactive terminalSven-Hendrik Haase2021-03-281-3/+13
|
* Change start message without arguments to be a bit more clearSven-Hendrik Haase2021-03-281-4/+4
|
* Change default log level to WarnSven-Hendrik Haase2021-03-281-1/+1
|
* Better message for when provided index file doesn't existSven-Hendrik Haase2021-03-281-3/+4
|
* Refactor and separate out arg handling and config handlingSven-Hendrik Haase2021-03-281-5/+73
|
* Generate completions with `miniserve --print-completions <shell>`Andy Freeland2021-03-281-4/+12
| | | | | | | | This patch adds a `--print-completions` option to generate shell completion files at runtime. This ensures the completions are always up to date. Fixes #377.
* Add option to show hidden filesSven-Hendrik Haase2021-03-071-24/+36
|
* Add program version footerTamas Levai2021-02-281-0/+8
|
* Re-do the way setting multiple headers worksSven-Hendrik Haase2021-02-281-10/+7
|
* Multiple headers support for custom headersDean Li2021-02-271-7/+13
|
* Move the parsing header logic to args.rsDean Li2021-02-241-19/+7
|
* Allow set custom headers from CLIDean Li2021-02-241-0/+28
|
* Fix lintsSven-Hendrik Haase2021-02-191-6/+6
|
* Fix indentationTamas Levai2021-01-041-2/+2
| | | | Convert tabs to spaces.
* Add option to list directories firstTamas Levai2021-01-041-0/+5
|
* Now compiles on stableSven-Hendrik Haase2020-11-081-2/+0
|
* Merge pull request #380 from ahti/masterSven-Hendrik Haase2020-10-021-10/+33
|\ | | | | client-side color-scheme handling
| * restore default theme cli option and add default theme dark optionLukas Stabe2020-10-011-0/+18
| |
| * compile scss at build timeLukas Stabe2020-09-261-5/+2
| |
| * appease cargo fmtLukas Stabe2020-09-261-5/+8
| |
| * remove default color scheme cli argumentLukas Stabe2020-09-261-4/+0
| |
| * move css out of html into its own routeLukas Stabe2020-09-261-1/+23
| |
| * [wip] client-side color-scheme handlingLukas Stabe2020-09-251-14/+1
| |
* | Remove actix-rtequal-l22020-09-301-1/+1
|/
* add title option (#335) and breadcrumb links in headingLukas Stabe2020-09-241-0/+5
|
* Sorry cargo fmtSven-Hendrik Haase2020-09-241-2/+11
|
* Add embedded favicon (fixes #364)Sven-Hendrik Haase2020-09-241-2/+21
|
* Slightly better variable nameSven-Hendrik Haase2020-09-241-4/+4
| | | | At least it's better than before. :)
* Use actix-web-httpauth for authentication middlewareequal-l22020-07-211-1/+5
|
* Update to actix 2 and futures 0.3equal-l22020-07-211-53/+50
|
* Add generate QR code (#330)wyhaya2020-07-051-0/+5
| | | | * Add generate QR code * Add --qrcode option
* make sure archiving is opt-inmarawan ragab2020-05-101-4/+9
|
* Format everythingSven-Hendrik Haase2020-03-111-7/+10
|
* Added option to disable archivesDamian2020-03-021-0/+5
|
* Merge pull request #189 from efx/fix-156Sven-Hendrik Haase2020-03-011-0/+20
|\ | | | | add a default index serving option (#156)
| * add Lucretiel's documentation suggestionEli Flanagan2020-02-031-1/+4
| |
| * Merge branch 'master' into fix-156Eli Flanagan2019-09-251-1/+1
| |\
| * | fix typoEli Flanagan2019-09-141-1/+1
| | |
| * | warn user if provided index file is not foundEli Flanagan2019-09-131-0/+8
| | |
| * | change to path option for configurabilityEli Flanagan2019-09-121-4/+4
| | |
| * | use actix-web method for static indexEli Flanagan2019-09-091-4/+2
| | |
| * | wire up arguments, index.html serving still brokenEli Flanagan2019-09-081-0/+11
| | |
* | | Merge branch 'master' into fix-#173boastful-squirrel2019-11-211-5/+15
|\ \ \
| * | | Make clippy happySven-Hendrik Haase2019-09-301-3/+5
| | | |
| * | | Improve logging behaviorSven-Hendrik Haase2019-09-271-4/+12
| | |/ | |/| | | | | | | It will now fall back to basic logging if no proper terminal is attached as opposed to just failing silently.
| * | Remove explicit clap dependency in favor of structopt's re-exported versionSven-Hendrik Haase2019-09-211-1/+1
| |/