Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset handling improvements #289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MrFaul
Copy link

@MrFaul MrFaul commented Sep 21, 2024

Added some additional functionality to assets.rs
This should make it easier to implement some common tasks with less boilerplate.
e.g. #279

Also updated the static files example and some documentation to include the new functionality.

This shouldn't break anything, but please do a sanity check anyway.
Otherwise it's pretty much harmless and could be merged without much fuss.

Cheers Faul

deconstructed match_asset to internally use serve_asset
made slight changes to documentation
imported new functionality to lib.rs
added hint to serve_asset to response::from_file documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant