Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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 <till@tillschneidereit.net>
@tschneidereit tschneidereit added the templates Application templates label Dec 19, 2024
templates/component-rust/content/spin.toml Outdated Show resolved Hide resolved
templates/component-rust/metadata/spin-template.toml Outdated Show resolved Hide resolved
templates/component-rust/content/Cargo.toml.tmpl Outdated Show resolved Hide resolved
Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
@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
Collaborator

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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.