Build dependency on actix-web is not required
kilork opened this issue · 1 comments
kilork commented
There is no real need to depend on actix-web
to just collect static files.
We need to split this to build and dev parts to allow build less dependencies. This is especially useful for typical setup, when we have crate which supposed to collect resources and other crate, which is doing presentation using actix-web
.
Another outcome here is the possibility to support other than actix-web
frameworks.
Checklist:
- provide examples for 3.1 kilork/actix-web-static-files-examples#1
- add 3.1 example for https://github.com/kilork/actix-web-static-files-example-angular-router
- update documentation with new examples
- case 1 README
- case 2 README
- case 3 README
- case 4 README
- add TOC for examples
- update links to angular example with 3.1 branch link
- update lib.rs docs
Issues:
kilork commented
We now have https://github.com/static-files-rs/static-files, next steps would be to switch implementation to this crate.