4 releases

0.1.3 Sep 24, 2021
0.1.2 Jul 18, 2019
0.1.1 Jul 17, 2019
0.1.0 Jul 17, 2019

#31 in #rewrite

Download history 108/week @ 2024-03-12 210/week @ 2024-03-19 31/week @ 2024-03-26 137/week @ 2024-04-02 247/week @ 2024-04-09 254/week @ 2024-04-16 256/week @ 2024-04-23 331/week @ 2024-04-30 84/week @ 2024-05-07 2/week @ 2024-05-14 5/week @ 2024-05-21 3/week @ 2024-05-28 29/week @ 2024-06-04 15/week @ 2024-06-11 29/week @ 2024-06-18 13/week @ 2024-06-25

89 downloads per month
Used in holochain_scaffolding_cli

MIT license

16KB
345 lines

degit-rs

degit-rs is a rust rewrite of degit. It downloads copies of git repositories from the internet, without the need for git clone. This is faster, since it does not download the .git folder (which contains all the git history) and allows you to initialize a new repository afterwards. It is useful for downloading project boilerplate templates.

Crates.io

Instalation

cargo install degit

Usage examples

degit https://gitlab.gnome.org/bilelmoussaoui/gtk-rust-template my_new_project
degit sveltejs/template my-svelte-project

Advantages over original degit

  • does not require nodejs
  • does not create files in your home directory
  • supports hosted gitlab instances
  • progress bar

Todo

  • specify a tag, branch or commit

Dependencies

~22–34MB
~599K SLoC