Skip to content

transparencies/cargo-template-rocket-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-template-rocket-base

A base cargo-template for building a Rocket application

Warning

To use the Rocket crate, 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 ?

  1. Install cargo-generate:
cargo install cargo-generate
  1. Clone the Rocket application:
cargo generate --git https://github.com/k0pernicus/cargo-template-rocket-base --name yourprojectname
  1. Override the default toolchain in yourprojectname:
cd yourprojectname && rustup override set nightly
  1. Run the app:
cargo run

About

A base cargo-template for building a Rocket application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%