Rust import packages on repl?
CaptainAnon (149)

I'm currently reading up on rust, and trying to run through some examples on I have, however, yet to figure out how to install packages. Does anyone know how to import rust packages (crates) into

You are viewing a single comment. View All
Answered by jfrank11 (7) [earned 5 cycles]
View Answer
TejasUmesh (0)

found a better method;
just type

cargo init

into your shell and everytime you wanna run your code type

cargo run

and you're gold!