From fe1483475273fba36461beb99ae521f283d8d45c Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Mon, 20 Mar 2023 20:52:01 -0400 Subject: [PATCH] bump edition to 2021 and MSRV to 1.60.0 --- .github/workflows/ci.yml | 2 +- Cargo.toml | 5 +++-- rust-toolchain.toml | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62fcc4b..8e4010b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - rust_version: ['1.51.0', 'stable', 'nightly'] + rust_version: ['1.60.0', 'stable', 'nightly'] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index fedcc74..0850fd3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,8 @@ name = "quanta" version = "0.10.1" authors = ["Toby Lawrence "] -edition = "2018" +edition = "2021" +rust-version = "1.60" license = "MIT" @@ -33,7 +34,7 @@ prost = ["prost-types"] [dependencies] once_cell = "1.4" -prost-types = { version = "0.11", optional = true } +prost-types = { version = "0.11", default-features = false, optional = true } crossbeam-utils = "0.8.5" [target.'cfg(target_arch = "x86")'.dependencies] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..292fe49 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "stable"