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
But instead, Cargo doesn't respect the -n flag. Instead, it wants me install with this:
cargo install jims-new-rust-cli-test
So, I am wondering... is it by design that the cargo package doesn't use the custom name? It is like an anti-pattern for me to want to do this in the first place? Or is it some limitation of cargo that you cannot publish with these two things having different names?
Just curious why it is like this because it seems unintuitive to me.
Thanks!
The text was updated successfully, but these errors were encountered:
@JimLynchCodes hi, by design we currently do not modify the cargo file. One option is we can pass in a temp file for the deployment or look into adding a flag to overwrite or modify in place.
Hi again! 😃
I have a new exploration spike project now in which I am testing out the
-n
flag.I deployed with this command:
npm seems to work great. I install with:
and then use it like this:
For Cargo I would expect to be able to do this:
But instead, Cargo doesn't respect the -n flag. Instead, it wants me install with this:
So, I am wondering... is it by design that the cargo package doesn't use the custom name? It is like an anti-pattern for me to want to do this in the first place? Or is it some limitation of cargo that you cannot publish with these two things having different names?
Just curious why it is like this because it seems unintuitive to me.
Thanks!
The text was updated successfully, but these errors were encountered: