As a maintainer of the spin shim, I found these two structs particularly useful for running spin application either from the local filesystem or from oci, but we can't directly take a dependency on the spin-cli crate due to build.rs. In order to share more logic between the up command and the spin Engine implementation in the containerd-shim, I'd suggest to move these two structs to spin_app crate that we depend on. Thoughts?
See: deislabs/containerd-wasm-shims#164