This commit is contained in:
2024-05-03 12:25:20 +03:00
commit 8236ae0642
19 changed files with 452 additions and 0 deletions

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# 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