From 16864e616febdab77ba9a8af4950696dd651b5d0 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Wed, 2 Sep 2020 16:03:41 +1000 Subject: [PATCH] rust: switch to stable compilers The only dependency which required nightly compilers was pyo3, which supports stable Rust (1.39.0 and later) since version 0.11.0. Supporting stable Rust makes it easier to package Anki for distributions. No other code changes were required. Signed-off-by: Aleksa Sarai --- CONTRIBUTORS | 3 ++- rslib/rust-toolchain | 2 +- rspy/Cargo.toml | 2 +- rspy/rust-toolchain | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 81b10b43a..8e7a3ff32 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -46,8 +46,9 @@ Matt Krump Alexander Presnyakov abdo aplaice -phwoo +phwoo Soren Bjornstad +Aleksa Sarai ******************** diff --git a/rslib/rust-toolchain b/rslib/rust-toolchain index 22bde8163..2bf5ad044 100644 --- a/rslib/rust-toolchain +++ b/rslib/rust-toolchain @@ -1 +1 @@ -nightly-2020-06-25 +stable diff --git a/rspy/Cargo.toml b/rspy/Cargo.toml index 0b8e4941c..71d6c812c 100644 --- a/rspy/Cargo.toml +++ b/rspy/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" anki = { path = "../rslib" } [dependencies.pyo3] -version = "0.8.0" +version = "0.11.0" features = ["extension-module"] [lib] diff --git a/rspy/rust-toolchain b/rspy/rust-toolchain index 22bde8163..2bf5ad044 100644 --- a/rspy/rust-toolchain +++ b/rspy/rust-toolchain @@ -1 +1 @@ -nightly-2020-06-25 +stable