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
Currently cargo component newgenerates the dependency with the version fixed in the binary, e.g. cargo-component-bindings = "0.6.0" .
I would prefer having the same behavior as when calling cargo add cargo-component-bindings, generating cargo-component-bindings.workspace = true if I am inside a workspace and have version set in [workspace.dependencies]. If the version is not set, cargo add checks the latest version which is I believe preferable.
The text was updated successfully, but these errors were encountered:
Currently
cargo component new
generates the dependency with the version fixed in the binary, e.g.cargo-component-bindings = "0.6.0"
.I would prefer having the same behavior as when calling
cargo add cargo-component-bindings
, generatingcargo-component-bindings.workspace = true
if I am inside a workspace and have version set in[workspace.dependencies]
. If the version is not set,cargo add
checks the latest version which is I believe preferable.The text was updated successfully, but these errors were encountered: