#github #cargo-install #download #world #best #quality #improve

bin+lib init-rs

Use the world's best Cargo to install software, bypassing GitHub

12 releases

0.0.17 Jan 14, 2024
0.0.16 Jan 14, 2024

#5 in #best

Download history 2/week @ 2024-02-14 15/week @ 2024-02-21 13/week @ 2024-02-28 1/week @ 2024-03-06 32/week @ 2024-03-13 24/week @ 2024-03-27 48/week @ 2024-04-03

94 downloads per month

MIT license

107 lines

Contains (ELF exe, 6.5MB) bin/just, (ELF exe, 5.5MB) bin/tcping, (ELF exe, 3MB) bin/fd

Table of Contents↗️


Use the world's best Cargo to install software, bypassing GitHub.

When using GitHub to download open source software in some areas of Blue Planet, it may fail due to poor network quality. This project aims to install these software through cargo. Use the rust registry to improve network quality.

Feature flags

Name Description Version Default?
just 🤖 Just a command runner 1.23.0 ✔️
fd 📂 A simple, fast and user-friendly alternative to 'find' 9.0.0
lll 📜 A better ls with more usage information 1.0.0
tcping 🌐 A TCP ping utility to determine reachability of a TCP port 0.3.0


install rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


export RUSTUP_DIST_SERVER="https://rsproxy.cn"
export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup"
curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh

set registry

cat <<EOF | tee -a ~/.cargo/config
replace-with = 'rsproxy-sparse'
registry = "https://rsproxy.cn/crates.io-index"
registry = "sparse+https://rsproxy.cn/index/"
index = "https://rsproxy.cn/crates.io-index"
git-fetch-with-cli = true

install init-rs

cargo install init-rs


cargo install init-rs -f --features=just,fd

Special thanks

Jetbrains Logo

Thanks to Jetbrains for supporting this small open source project!


~109K SLoC