Crates.io | init-rs |
lib.rs | init-rs |
version | 0.0.17 |
source | src |
created_at | 2024-01-13 02:52:57.455898 |
updated_at | 2024-01-14 06:23:11.855756 |
description | Use the world's best Cargo to install software, bypassing GitHub. |
homepage | https://github.com/lvillis/init-rs |
repository | https://github.com/lvillis/init-rs |
max_upload_size | |
id | 1098234 |
size | 15,120,092 |
init-rs
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.
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 | β |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
or
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
cat <<EOF | tee -a ~/.cargo/config
[source.crates-io]
replace-with = 'rsproxy-sparse'
[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"
[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"
[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"
[net]
git-fetch-with-cli = true
EOF
cargo install init-rs
or
cargo install init-rs -f --features=just,fd
Thanks to Jetbrains for supporting this small open source project!