From 0c4e1bd4ed2431d1a2db9cc902dc9037e92e30a1 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 9 Jun 2023 20:04:21 +1000 Subject: [PATCH] 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 --------- Co-authored-by: Arya --- README.md | 7 +++---- zebrad/Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 893db0a1a..87fd50922 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index 239dc1ead..71d57a0a4 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -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