mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
update readme, allow self updating
This commit is contained in:
parent
b7b8f36109
commit
3810603457
2 changed files with 11 additions and 9 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -1,16 +1,18 @@
|
|||
[package]
|
||||
name = "cargo-binstall"
|
||||
description = "Rust binary package installer for CI integration"
|
||||
repository = "https://github.com/ryankurte/cargo-binutil"
|
||||
repository = "https://github.com/ryankurte/cargo-binstall"
|
||||
documentation = "https://docs.rs/cargo-binstall"
|
||||
version = "0.1.0"
|
||||
authors = ["ryan <ryan@kurte.nz>"]
|
||||
edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
|
||||
[[pkg_bin]]
|
||||
name = "cargo-binstall"
|
||||
path = "cargo-binstall-{ target }"
|
||||
|
||||
[package.metadata.binstall]
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tgz"
|
||||
bin-dir = "{ bin }{ format }"
|
||||
|
||||
|
||||
[dependencies]
|
||||
crates_io_api = "0.6.1"
|
||||
|
|
10
README.md
10
README.md
|
@ -1,10 +1,10 @@
|
|||
# Cargo B(inary)Install
|
||||
|
||||
A helper for distribution and installation of CI built rust binaries in a pseudo-distributed and maybe-one-day secure manner.
|
||||
This is part experiment, part solving a personal problem, and part hope that we can solve / never re-visit this. I hope you find it helpful and, good luck!
|
||||
A helper for distribution and installation of CI built rust binaries in a pseudo-distributed and maybe-one-day secure manner. This is part experiment, part solving a personal problem, and part hope that we can solve / never re-visit this. I hope you find it helpful and, good luck!
|
||||
|
||||
To get started _using_ `cargo-binstall`, first install the binary (either via `cargo install cargo-binstall` or by downloading a precompiled [release](https://github.com/ryankurte/cargo-binstall/releases)).
|
||||
Once `cargo-binstall` is installed, supported packages can be installed using `cargo binstall NAME` where `NAME` is the crate.io package name.
|
||||
To get started _using_ `cargo-binstall`, first install the binary (either via `cargo install cargo-binstall` or by downloading a pre-compiled [release](https://github.com/ryankurte/cargo-binstall/releases). Once you have installed this you can of course `cargo binstall cargo-binstall` to install further versions...
|
||||
|
||||
Supported packages can be installed using `cargo binstall NAME` where `NAME` is the crate.io package name.
|
||||
Package versions and targets may be specified using the `--version` and `--target` arguments respectively, and install directory with `--install-dir` (this defaults to `$HOME/.cargo/bin`, with fall-backs to `$HOME/.bin` if unavailable). For additional options please see `cargo binstall --help`.
|
||||
|
||||
To support `binstall` maintainers must add configuration values to `Cargo.toml` to allow the tool to locate the appropriate CI-produced binary package for a given version and target. See [Supporting Binary Installation](#Supporting-Binary-Installation) for instructions on how to support `binstall` in your projects.
|
||||
|
@ -14,7 +14,7 @@ To support `binstall` maintainers must add configuration values to `Cargo.toml`
|
|||

|
||||
[](https://github.com/ryankurte/cargo-binstall)
|
||||
[](https://crates.io/crates/cargo-binstall)
|
||||
[](https://docs.rs/cargo-binstal
|
||||
[](https://docs.rs/cargo-binstall)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue