-
Notifications
You must be signed in to change notification settings - Fork 10
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
Publish templating system? #2
Comments
Actually, this entire package besides the tests are template-agnostic -- it should be quite easy to re-configure it for different projects. What would be the best way to publish it, do you think? |
Getting the templating library onto crates.io would be a good start, but it'd be nice to replace the codegen system with some macros + traits so that rust can be the source of truth for all the features - not sure if that's a design goal of yours though. |
|
fairo
It probs wouldn't work without adopting macros anyway. I might implement it myself but dir walking can do the job. Only necessary change I think you'd need would be for the template directory to be customisable via |
Hey Otto, love what you've done here! The
template_builder
crate is particularly cool imo, I've been wanting something similar but have always made it too complex or just not been bothered. Different files per combination of features isn't quite as granular as I would ultimately want, but hey if it does the job then I'm down for it.It'd be great to use in
create-rspc-app
and probably many more projects, would you be down to get it published? I can lend some time if necessary.The text was updated successfully, but these errors were encountered: