If you started a project that doesn’t use Cargo, as we did with the “Hello, world!” project, you can convert it to a project that does use Cargo. Move the project code into the src directory and create an appropriate Cargo.toml file.
Did you know you can convert a normal rust project into a Cargo managed project?
Project or package manager helps creating and manage large scale projects intelligently and efficiently.