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

Templates: add a Rust template for non-trigger components #2970

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

Conversation

tschneidereit
Copy link
Contributor

This new template makes it easy to create a component that can be used as a dependency in another component. Until now, that required fully manually setting up a component and adding it to the Spin manifest, etc.

This new template makes it easy to create a component that can be used as a dependency in another component. Until now, that required fully manually setting up a component and adding it to the Spin manifest, etc.

Signed-off-by: Till Schneidereit <[email protected]>
@tschneidereit tschneidereit added the templates Application templates label Dec 19, 2024
Signed-off-by: Till Schneidereit <[email protected]>
@tschneidereit
Copy link
Contributor Author

@itowlson thank you for the comments! I addressed the smaller ones in a new push as much as I could. I tried to make new_application.supported = false work, but the template still shows up in the list for spin new. Is there some other magic incantation I'm missing?

@itowlson
Copy link
Contributor

itowlson commented Jan 16, 2025

I'll have a look, that might be a bug with me not checking new/add compat until after template selection.

ETA: yep looks like we grab all the templates regardless of add vs new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
templates Application templates
Projects
Status: 📋 Investigating / Open for Comment
Development

Successfully merging this pull request may close these issues.

2 participants