# Template for RUST project ## Prerequisites ### Install and update RUST https://www.rust-lang.org/tools/install ### Install cargo-generate lib https://cargo-generate.github.io/cargo-generate/installation.html ## Create new Project from template ```bash cargo generate -g https://git.smetan.ru/template/rust.git -n project-name --bin ``` Params: `-g` - git path for this template `-n` - new project name `--bin/--lib` - binary(default) or library project. This also affects on building process: `bin` builds as Docker image, `lib` builds as Cargo package