You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh yeah, this would be great! @Fishrock123 is this something you'd be able to contribute?
I'm thinking ideally we could move this from a build.rs script into a standalone command 1 which we can run periodically instead of every time someone builds. Some systems intentionally lock down external network connection during building; but in general pre-building it / checking it into the repo should be faster for most builds. But no worries if we start with a build.rs script and then refactor it later.
Footnotes
I'm a big fan of the matklad/cargo-xtask pattern for this. That would allow us to do something like cargo xtask codegen in the repo to generate all the code we need. ↩
basically, this but with the other fields that the json database provides: https://github.com/Fishrock123/tide-compress/blob/main/build.rs
see https://github.com/jshttp/mime-db/blob/master/db.json
The text was updated successfully, but these errors were encountered: