Skip to content

Commit

Permalink
Bumped minimum Rust version to 1.57.0 and 2021 edition.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed Jun 13, 2022
1 parent 4db62fc commit b631b07
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [1.52.1, stable, beta, nightly]
toolchain: [1.57.0, stable, beta, nightly]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[package]
name = "glam"
version = "0.20.5" # remember to update html_root_url
edition = "2018"
edition = "2021"
authors = ["Cameron Hart <[email protected]>"]
description = "A simple and fast 3D math library for games and graphics"
repository = "https://github.com/bitshifter/glam-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["gamedev", "math", "matrix", "vector", "quaternion"]
categories = ["game-engines", "no-std"]
rust-version = "1.57"

[badges]
maintenance = { status = "actively-developed" }
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status]][github-ci] [![Coverage Status]][coveralls.io]
[![Latest Version]][crates.io] [![docs]][docs.rs]
[![Minimum Supported Rust Version]][Rust 1.52]
[![Minimum Supported Rust Version]][Rust 1.57]

A simple and fast 3D math library for games and graphics.

Expand Down Expand Up @@ -128,9 +128,7 @@ glam = { version = "0.20.4", default-features = false }

### Minimum Supported Rust Version (MSRV)

The minimum supported version of Rust for `glam` is `1.52.1`.

`wasm32` SIMD intrinsics require Rust `1.54.0`.
The minimum supported version of Rust for `glam` is `1.57.0`.

## Conventions

Expand Down Expand Up @@ -249,5 +247,5 @@ See [ATTRIBUTION.md] for details.
[crates.io]: https://crates.io/crates/glam/
[docs]: https://docs.rs/glam/badge.svg
[docs.rs]: https://docs.rs/glam/
[Minimum Supported Rust Version]: https://img.shields.io/badge/Rust-1.52.1-blue?color=fc8d62&logo=rust
[Rust 1.52]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1521-2021-05-10
[Minimum Supported Rust Version]: https://img.shields.io/badge/Rust-1.57.0-blue?color=fc8d62&logo=rust
[Rust 1.57]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1570-2021-12-02
2 changes: 1 addition & 1 deletion build_all_msrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

CARGO='rustup run 1.52.1 cargo'
CARGO='rustup run 1.57.0 cargo'
$CARGO test --features "bytemuck mint rand serde debug-glam-assert" && \
$CARGO test --features "scalar-math bytemuck mint rand serde debug-glam-assert" && \
$CARGO test --no-default-features --features "libm scalar-math bytemuck mint rand serde debug-glam-assert" && \
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ and benchmarks.
## Minimum Supported Rust Version (MSRV)
The minimum supported Rust version is `1.52.1`.
The minimum supported Rust version is `1.57.0`.
*/
#![doc(html_root_url = "https://docs.rs/glam/0.20.5")]
Expand Down

0 comments on commit b631b07

Please sign in to comment.