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
spin.toml allows defining a list of dependencies that the main component requires in order to be instantiated:
[component.dependencies]
cache = { type = "host" }
markdown = { type = "component", reference = "github/octo-markdown/1.0.0" }
However, the behavior of how this section should be used is not currently implemented (or specified).
Proposal: at startup, there should be a step that links the entrypoint module using the components specified in this section, and generates a "linked" component that can be directly instantiated by the execution context (engine).
This section could be potentially generated from Cargo.toml in the case of Rust (the format and necessary information is the same).
The text was updated successfully, but these errors were encountered:
While this is still something we want to do, we don't currently have a clear way of achieving it.
Additionally, spin.toml no longer has component.dependencies, so this issue is also out of date.
spin.toml
allows defining a list of dependencies that the main component requires in order to be instantiated:However, the behavior of how this section should be used is not currently implemented (or specified).
Proposal: at startup, there should be a step that links the entrypoint module using the components specified in this section, and generates a "linked" component that can be directly instantiated by the execution context (engine).
This section could be potentially generated from
Cargo.toml
in the case of Rust (the format and necessary information is the same).The text was updated successfully, but these errors were encountered: