Skip to content

Commit

Permalink
Bumped MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
awestlake87 committed Oct 17, 2023
1 parent 82af6ee commit 6ce3a70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
platform: { os: "windows-latest", python-architecture: "x86" }
include:
# Test minimal supported Rust version
- rust: 1.62.0
- rust: 1.63.0
python-version: "3.10"
platform:
{
Expand Down Expand Up @@ -155,9 +155,6 @@ jobs:
env:
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
# TODO: this is a hack to workaround compile_error! warnings about auto-initialize on PyPy
# Once cargo's `resolver = "2"` is stable (~ MSRV Rust 1.52), remove this.
PYO3_CI: 1

coverage:
needs: [fmt]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Actions Status](https://github.com/awestlake87/pyo3-asyncio/workflows/CI/badge.svg)](https://github.com/awestlake87/pyo3-asyncio/actions)
[![codecov](https://codecov.io/gh/awestlake87/pyo3-asyncio/branch/master/graph/badge.svg)](https://codecov.io/gh/awestlake87/pyo3-asyncio)
[![crates.io](https://img.shields.io/crates/v/pyo3-asyncio)](https://crates.io/crates/pyo3-asyncio)
[![minimum rustc 1.62](https://img.shields.io/badge/rustc-1.62+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![minimum rustc 1.63](https://img.shields.io/badge/rustc-1.63+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)

[Rust](http://www.rust-lang.org/) bindings for [Python](https://www.python.org/)'s [Asyncio Library](https://docs.python.org/3/library/asyncio.html). This crate facilitates interactions between Rust Futures and Python Coroutines and manages the lifecycle of their corresponding event loops.

Expand Down
2 changes: 1 addition & 1 deletion src/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ fn get_panic_message(any: &dyn std::any::Any) -> &str {
if let Some(str_slice) = any.downcast_ref::<&str>() {
str_slice
} else if let Some(string) = any.downcast_ref::<String>() {
&string
string
} else {
"unknown error"
}
Expand Down

0 comments on commit 6ce3a70

Please sign in to comment.