Revert "feat: add cargo binstall support" (#3602)

This commit is contained in:
Bjerg
2023-07-05 15:04:26 +02:00
committed by GitHub
parent 706fc41816
commit 12f792560f
2 changed files with 0 additions and 12 deletions

View File

@ -133,8 +133,3 @@ futures-util = "0.3.25"
## crypto ## crypto
secp256k1 = { version = "0.27.0", default-features = false, features = ["global-context", "rand-std", "recovery"] } secp256k1 = { version = "0.27.0", default-features = false, features = ["global-context", "rand-std", "recovery"] }
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

View File

@ -26,10 +26,3 @@ As an example, you could install the Linux x86_64 version like so:
1. Test the binary with `./reth --version` (it should print the version). 1. Test the binary with `./reth --version` (it should print the version).
2. (Optional) Move the `reth` binary to a location in your `PATH`, so the `reth` command can be called from anywhere. 2. (Optional) Move the `reth` binary to a location in your `PATH`, so the `reth` command can be called from anywhere.
For most Linux distros, you can move the binary to `/usr/local/bin`: `sudo cp ./reth /usr/local/bin`. For most Linux distros, you can move the binary to `/usr/local/bin`: `sudo cp ./reth /usr/local/bin`.
### Using `cargo-binstall`
Alternatively, if you have [binstall](https://github.com/cargo-bins/cargo-binstall) installed, you can use it to install and load the binary:
```bash
cargo binstall reth
```