@vrn-deco/boilerplate-rust-cargo-base
v1.0.4
Published
boilerplate rust cargo base
Downloads
9
Readme
@vrn-deco/boilerplate-rust-cargo-base
English | 中文
TODO: 包描述
How do create a project from this boilerplate?
Option I
Interactive creation using @vrn-deco/cli
is highly recommended, see vrn-cli repository
Option II
Use the installer that comes with this package to create
npx @vrn-deco/boilerplate-rust-cargo-base \
--target-dir="$(pwd)/my-app" \
--boi-package-dir="/xxx/boi-package" \
--name="my-app" \
--version="0.0.1" \
--author="cphayim"
Parameters:
--target-dir
: The target directory, that is, where it needs to be installed, it can point to a non-existing directory, it will automatically executemkdir -p
--boi-package-dir
: local path toboi-package
--name
: project name,PresetRunner
will modify the corresponding project file field according to the type ofboilerplate
, and ensure it is valid by itself--version
: the project version,PresetRunner
will modify the corresponding project file fields according to the type ofboilerplate
to ensure the validity by itself--author
: the author of the project,PresetRunner
will modify the corresponding project file fields according to the type ofboilerplate
to ensure the validity by itself