cargo-template-test-submodule
A test cargo-template for testing cargo template with git submodules.
SECURITY ADVISORY
This submodule uses traitobject
, a crate with several security flaws, which has been flagged as "unmaintained".
This submodule should not be used any other than a test crate, and should not be used as production level.
Warning
To test this, you must use a Nighly version of Rust.
rustup install nightly
# OR, if you already have a nightly version
rustup update nightly
Do not forget to override the default toolchain
How to use it ?
- Install cargo-generate:
cargo install cargo-generate
- Clone this application, which is a fork of rocket-base:
cargo generate --git https://github.com/k0pernicus/cargo-template-test-submodule --name test-submodule
- Check if the internal
cargo-generate-submodule
directory contains at least a README.md file.
If not, this test failed :(