change: fail early when using Rust 1.57 and earlier, because they don't work (#4435)
* change: set 1.58 as the minimum required Rust version for zebrad and document it * Update README.md Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com> * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com> Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
e2890636a9
commit
6c1c5515d5
|
|
@ -100,6 +100,9 @@ install mechanism. To run `zebrad`, follow the instructions to compile `zebrad`
|
||||||
for your platform:
|
for your platform:
|
||||||
|
|
||||||
1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install).
|
1. Install [`cargo` and `rustc`](https://www.rust-lang.org/tools/install).
|
||||||
|
- Zebra is tested with the latest `stable` Rust version.
|
||||||
|
Earlier versions are not supported or tested, but they might work.
|
||||||
|
(Rust 1.57 and earlier are not supported, due to missing features.)
|
||||||
2. Install Zebra's build dependencies:
|
2. Install Zebra's build dependencies:
|
||||||
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
|
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
|
||||||
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
|
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
version = "1.0.0-beta.10"
|
version = "1.0.0-beta.10"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
# Zebra is only supported on the latest stable Rust version. Some earlier versions might work.
|
||||||
|
# Zebra uses features introduced in Rust 1.58.
|
||||||
|
rust-version = "1.58"
|
||||||
repository = "https://github.com/ZcashFoundation/zebra"
|
repository = "https://github.com/ZcashFoundation/zebra"
|
||||||
# make `cargo run` use `zebrad` by default
|
# make `cargo run` use `zebrad` by default
|
||||||
# when run in the workspace directory
|
# when run in the workspace directory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue