fix(rust): Declare the correct compatibility with older Rust versions (#6892)

* Declare the correct compatibility with older Rust versions

* Declare the correct supported Rust version for compiling zebrad

* Tweak wording

Co-authored-by: Arya <aryasolhi@gmail.com>

---------

Co-authored-by: Arya <aryasolhi@gmail.com>
This commit is contained in:
teor 2023-06-09 20:04:21 +10:00 committed by GitHub
parent 954ff2ef42
commit 0c4e1bd4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -67,11 +67,10 @@ Building Zebra requires [Rust](https://www.rust-lang.org/tools/install),
[pkg-config](http://pkgconf.org/), and a C++ compiler.
Zebra is tested with the latest `stable` Rust version. Earlier versions are not
supported or tested. Note that Zebra's code currently uses features introduced
in Rust 1.68, or any later stable release.
supported or tested. Any Zebra release can start depending on new features in the
latest stable Rust.
Every few weeks, we release a [new Zebra
version](https://github.com/ZcashFoundation/zebra/releases).
Every few weeks, we release a [new Zebra version](https://github.com/ZcashFoundation/zebra/releases).
Below are quick summaries for installing the dependencies on your machine.

View File

@ -9,9 +9,9 @@ repository = "https://github.com/ZcashFoundation/zebra"
# Settings that impact compilation
edition = "2021"
# Zebra is only supported on the latest stable Rust version. Some earlier versions might work.
# Zebra's code uses features introduced in Rust 1.68, or any later stable release.
rust-version = "1.68"
# Zebra is only supported on the latest stable Rust version. See the README for details.
# Any Zebra release can break compatibility with older Rust versions.
rust-version = "1.66"
# Settings that impact runtime behaviour