Skip to content

Cargo subcommand to start a new Rust project from a boilerplate/template repository.

License

Notifications You must be signed in to change notification settings

0xi4o/cargo-use

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-use

Cargo subcommand to start a new Rust project from a boilerplate/template repository.

Prerequisites

  • git

Installation

Install cargo-use with cargo

cargo install cargo-use

Usage

cargo use <user_or_org_name>/<repo-name>

or

cargo use https://github.com/<user_or_org_name>/<repo-name>

Default:

cargo use i4o-dev/startrs

Custom project name:

cargo use i4o-dev/startrs --name test-project

With additional dependencies:

cargo use i4o-dev/startrs --with tokio axum

TODO

  • Repo could include full URL or just <username>/<repo> format. Both should work.
  • Change name in Cargo.toml if name is given
  • Unset git remote after the repo is created

About

Cargo subcommand to start a new Rust project from a boilerplate/template repository.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages