integrate include_dir in rama-utils#665
Merged
Merged
Conversation
pretty much 1-on-1 copy of original include_dir code Co-authored-by: Alex Rawson <ajzecrom@gmail.com> Co-authored-by: Alexander Kjäll <alexander.kjall@gmail.com> Co-authored-by: Andreas Reischuck <andreas.reischuck@hicknhack-software.com> Co-authored-by: arctic_hen7 <arctic_hen7@pm.me> Co-authored-by: Erick Tryzelaar <etryzelaar@google.com> Co-authored-by: Jannik Obermann <50554200+jannik4@users.noreply.github.com> Co-authored-by: Johan Andersson <repi@repi.se> Co-authored-by: Michael Daffin <michael@daffin.io> Co-authored-by: Michael Lamparski <diagonaldevice@gmail.com> Co-authored-by: Michael-F-Bryan <michaelfbryan@gmail.com> Co-authored-by: nytopop <ericizoita@gmail.com> Co-authored-by: Samani G. Gikandi <samani@gojulas.com> Co-authored-by: Viktor Sonesten <v@tmplt.dev> Co-authored-by: Yurii Rashkovskii <yrashk@gmail.com>
4d090fa to
844f1e8
Compare
- make it work properly for windows - add tests - make it work for relative and absolute paths - drop stuff we do not need - some more minor improvements also add new example for serving files from embedded dir, note that this needs to be adapted to use the upcoming new feature of ServeDir::new_embedded
99f15a6 to
0b1fd89
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.