mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Revert "feat: add cargo binstall support" (#3602)
This commit is contained in:
@ -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"
|
|
||||||
|
|||||||
@ -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
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user