Files
rust/README.md
2024-05-03 12:25:20 +03:00

557 B

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

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