Skip to content

Commit c1f5ef7

Browse files
committed
Bump edition and add rust-version
1 parent d1ad41b commit c1f5ef7

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
- The `H5Type` derive macro now uses `proc-macro-error` to emit error messages.
1515
- Features have been reworked to use the new dependency resolution. This bumps MSRV.
16+
- Edition is updated to `2021` for all crates.
1617
- MSRV is increased to `1.60`.
1718

1819
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Thread-safe Rust bindings for the HDF5 library."
99
repository = "https://github.com/aldanor/hdf5-rust"
1010
homepage = "https://github.com/aldanor/hdf5-rust"
1111
build = "build.rs"
12-
edition = "2018"
12+
edition = "2021"
1313
categories = ["science", "filesystem"]
1414
rust-version = "1.60"
1515

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ HDF5 for Rust.
66
[![Latest Version](https://img.shields.io/crates/v/hdf5.svg)](https://crates.io/crates/hdf5)
77
[![Documentation](https://docs.rs/hdf5/badge.svg)](https://docs.rs/hdf5)
88
[![Changelog](https://img.shields.io/github/v/release/aldanor/hdf5-rust)](https://github.com/aldanor/hdf5-rust/blob/master/CHANGELOG.md)
9-
![hdf5: rustc 1.51+](https://img.shields.io/badge/hdf5-rustc_1.51+-lightblue.svg)
9+
![hdf5: rustc 1.60+](https://img.shields.io/badge/hdf5-rustc_1.60+-lightblue.svg)
1010
[![Total Lines](https://tokei.rs/b1/github/aldanor/hdf5-rust)](https://github.com/aldanor/hdf5-rust)
1111
[![Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
1212
[![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
@@ -112,7 +112,7 @@ toolchains; macOS Catalina).
112112
### Rust
113113

114114
`hdf5` crate is tested continuously for all three official release channels, and
115-
requires a reasonably recent Rust compiler (e.g. of version 1.51 or newer).
115+
requires a reasonably recent Rust compiler (e.g. of version 1.60 or newer).
116116

117117
### HDF5
118118

hdf5-derive/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ license = "MIT OR Apache-2.0"
77
description = "Derive macro for HDF5 structs and enums."
88
repository = "https://github.com/aldanor/hdf5-rust"
99
homepage = "https://github.com/aldanor/hdf5-rust"
10-
edition = "2018"
10+
edition = "2021"
1111
readme = "README.md"
1212
categories = ["procedural-macro-helpers"]
13+
rust-version = "1.60"
1314

1415
[lib]
1516
proc-macro = true

hdf5-src/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build = "build.rs"
88
repository = "https://github.com/aldanor/hdf5-rust"
99
homepage = "https://github.com/aldanor/hdf5-rust"
1010
description = "Build script for compiling HDF5 C library from source."
11-
edition = "2018"
11+
edition = "2021"
1212
links = "hdf5src"
1313
readme = "README.md"
1414
categories = ["ffi"]

hdf5-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build = "build.rs"
88
repository = "https://github.com/aldanor/hdf5-rust"
99
homepage = "https://github.com/aldanor/hdf5-rust"
1010
description = "Native bindings to the HDF5 library."
11-
edition = "2018"
11+
edition = "2021"
1212
links = "hdf5"
1313
readme = "README.md"
1414
categories = ["ffi", "filesystem", "science"]

hdf5-types/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ description = "Native Rust equivalents of HDF5 types."
88
repository = "https://github.com/aldanor/hdf5-rust"
99
homepage = "https://github.com/aldanor/hdf5-rust"
1010
readme = "README.md"
11-
edition = "2018"
11+
edition = "2021"
1212
build = "build.rs"
1313
categories = ["encoding"]
14+
rust-version = "1.60"
1415

1516
[features]
1617
h5-alloc = []

0 commit comments

Comments
 (0)