Skip to content

Commit

Permalink
rust: switch to stable compilers
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
cyphar committed Sep 5, 2020
1 parent 11efaed commit 102eb8d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ Matt Krump <github.com/mkrump>
Alexander Presnyakov <[email protected]>
abdo <github.com/ANH25>
aplaice <[email protected]>
phwoo <github.com/phwoo>
phwoo <github.com/phwoo>
Soren Bjornstad <[email protected]>
Aleksa Sarai <[email protected]>

********************

Expand Down
2 changes: 1 addition & 1 deletion rslib/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-06-25
stable
2 changes: 1 addition & 1 deletion rspy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
anki = { path = "../rslib" }

[dependencies.pyo3]
version = "0.8.0"
version = "0.11.0"
features = ["extension-module"]

[lib]
Expand Down
2 changes: 1 addition & 1 deletion rspy/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-06-25
stable

0 comments on commit 102eb8d

Please sign in to comment.