Init
This commit is contained in:
16
README.md
Normal file
16
README.md
Normal 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
|
||||
Reference in New Issue
Block a user