1 个不稳定版本
使用旧的Rust 2015
| 0.3.1 | 2018年10月20日 |
|---|
#19 在 #加速器
36KB
847 代码行
Grapple
可中断,下载加速器,支持基本和摘要身份验证,使用Rust编写。

安装
通过cargo安装
- 安装 Rustup
- 运行
cargo install --git https://github.com/daveallie/grapple
手动安装二进制文件
- 从最新版本页面下载您平台上的压缩二进制文件。
- 将二进制文件复制或创建符号链接到
/usr/local/bin或将其放在您的PATH中。
用法
$ grapple --help
Grapple 0.3.0
Dave Allie
Fast, interruptible file downloader in Rust
USAGE:
grapple [OPTIONS] <URI>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p, --parts <PARTS>
Set part count, defaults to the thread count. Cannot be less than the thread count.
-P, --password <PASSWORD> Password to use in authentication. Overrides password if set in URI.
--thread-bandwidth <THREAD_BANDWIDTH> Per thread bandwidth in kB/s
-t, --threads <THREADS> Set thread count, defaults to 10.
-u, --username <USERNAME> Username to use in authentication. Overrides username in URI.
ARGS:
<URI> URI of file to download
贡献
- 分叉它!
- 创建您的功能分支:
git checkout -b my-new-feature - 提交您的更改:
git commit -am 'Add some feature' - 将更改推送到分支:
git push origin my-new-feature - 提交pull请求 :D
开发
- 安装 Vagrant
- 导航到开发目录
- 运行
vagrant up - 运行
vagrant ssh - 项目将在
~/grapple文件夹中 - 运行
cargo build来构建源代码
许可证
该项目根据MIT许可证的条款作为开源软件提供。
依赖项
~15–24MB
~425K SLoC