hi ..i am new to rust and i am trying to add the dependency for the "rand" crate as rand="0.8.3" as shown in the rust programming language book but its showing the following error....
git --no -pager --git -dir="C:\Users\joy.cargo\registry\index\github.com-1ecc6299db9ec823.git" show origin/HEAD:ra/nd/rand
'git' is not recognized as an internal or external command,
can somebody please tell what is to be done.
i am using visual studio as my editor.
hi thank u for your reply..i forgot to mention that i git already installed on my machine before i started work on rust but still this error is coming ..do i have to install git extension on the vs code also coz i m using vs code for rust.
Thanks in advance.
hi..thanks for your reply..i added git to my path variable and now its working fine..the "rand" dependency is now enabled and i am not getting any error like before..
thank u..