-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feature: implement a cargo component add
command.
#5
Comments
I imagine in the future this command would be updated to add references to components from a registry:
|
What do you think about modifying the command slightly to take a
Omitting the The advantage that I see is that this approach is that it is standard with the definition of the |
Indeed, I think what you propose makes the most sense and for now we can treat |
Implemented in #18. |
Now that
cargo-add
has been merged into cargo proper, we should definitely have an analogous command forcargo-component
.Something as simple as
cargo component add --version 0.1.0 foo.wit
editingCargo.toml
to include:And
cargo component add --version 0.1.0 --export foo.wit
adds:The text was updated successfully, but these errors were encountered: