Skip to content

Commit

Permalink
Merge pull request #1071 from messense/msrv
Browse files Browse the repository at this point in the history
Set MSRV to 1.59 and test on CI
  • Loading branch information
messense authored Aug 30, 2022
2 parents 8f371ff + 280dffd commit 3dbbe05
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 29 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,3 +399,21 @@ jobs:
with:
name: wheels
path: dist

test-msrv:
name: Test MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: '1.59.0'
override: true
# Caching
- name: Cache cargo build
uses: Swatinem/rust-cache@v1
with:
key: maturin-${{ runner.os }}-msrv
- name: cargo build
run: cargo build --all
58 changes: 30 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ license = "MIT OR Apache-2.0"
keywords = ["python", "cffi", "packaging", "pypi", "pyo3"]
categories = ["api-bindings", "development-tools::ffi", "command-line-utilities"]
edition = "2018"
rust-version = "1.59"

[[bin]]
name = "maturin"
Expand Down Expand Up @@ -69,7 +70,8 @@ pep440 = "0.2.0"
bytesize = { version = "1.0.1", optional = true }
configparser = { version = "3.0.0", optional = true }
multipart = { version = "0.18.0", features = ["client"], default-features = false, optional = true }
rpassword = { version = "7.0.0", optional = true }
# rpassword 7.0 requires Rust 1.60.0+
rpassword = { version = "6.0.1", optional = true }
ureq = { version = "2.3.1", features = ["gzip", "socks-proxy"], default-features = false, optional = true }
native-tls-crate = { package = "native-tls", version = "0.2.8", optional = true }

Expand Down
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Allow user to override default Emscripten settings in [#1059](https://github.com/PyO3/maturin/pull/1059)
* Enable `--crate-type cdylib` on Rust 1.64.0 in [#1060](https://github.com/PyO3/maturin/pull/1060)
* Update MSRV to 1.59.0 in [#1071](https://github.com/PyO3/maturin/pull/1071)

## [0.13.2] - 2022-08-14

Expand Down

0 comments on commit 3dbbe05

Please sign in to comment.