From 42ec06106d0d7e8a8c598990cef4cec4b04ef698 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 11 Aug 2024 23:15:49 +0700 Subject: [PATCH] Bump MSRV to 1.65 (#694) This will allow us to use `dep:` syntax and also move to using types from `core::ffi` as well as some other more modern constructs. --- .github/workflows/rust.yml | 2 +- cocoa-foundation/Cargo.toml | 1 + cocoa/Cargo.toml | 1 + core-foundation-sys/Cargo.toml | 1 + core-foundation/Cargo.toml | 1 + core-graphics-types/Cargo.toml | 1 + core-graphics/Cargo.toml | 1 + core-text/Cargo.toml | 1 + io-surface/Cargo.toml | 1 + 9 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0992b41..61a8e86 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -35,7 +35,7 @@ jobs: toolchain: [stable] include: - os: macos-14 - toolchain: 1.56.1 + toolchain: "1.65.0" steps: - uses: actions/checkout@v4 - name: Install toolchain diff --git a/cocoa-foundation/Cargo.toml b/cocoa-foundation/Cargo.toml index 79ce1c3..bedea04 100644 --- a/cocoa-foundation/Cargo.toml +++ b/cocoa-foundation/Cargo.toml @@ -8,6 +8,7 @@ version = "0.2.0" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin" diff --git a/cocoa/Cargo.toml b/cocoa/Cargo.toml index 70ead63..7a58be9 100644 --- a/cocoa/Cargo.toml +++ b/cocoa/Cargo.toml @@ -8,6 +8,7 @@ version = "0.26.0" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin" diff --git a/core-foundation-sys/Cargo.toml b/core-foundation-sys/Cargo.toml index 98c141e..8ede9df 100644 --- a/core-foundation-sys/Cargo.toml +++ b/core-foundation-sys/Cargo.toml @@ -7,6 +7,7 @@ version = "0.8.7" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [dependencies] diff --git a/core-foundation/Cargo.toml b/core-foundation/Cargo.toml index 32f891f..1a8dffa 100644 --- a/core-foundation/Cargo.toml +++ b/core-foundation/Cargo.toml @@ -9,6 +9,7 @@ license = "MIT OR Apache-2.0" categories = ["os::macos-apis"] keywords = ["macos", "framework", "objc"] edition = "2018" +rust-version = "1.65" [dependencies.core-foundation-sys] path = "../core-foundation-sys" diff --git a/core-graphics-types/Cargo.toml b/core-graphics-types/Cargo.toml index 98e3f6a..f3c96ba 100644 --- a/core-graphics-types/Cargo.toml +++ b/core-graphics-types/Cargo.toml @@ -7,6 +7,7 @@ version = "0.2.0" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [dependencies] bitflags = "2" diff --git a/core-graphics/Cargo.toml b/core-graphics/Cargo.toml index 2d56d53..aa166cb 100644 --- a/core-graphics/Cargo.toml +++ b/core-graphics/Cargo.toml @@ -7,6 +7,7 @@ version = "0.24.0" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [features] default = ["link"] diff --git a/core-text/Cargo.toml b/core-text/Cargo.toml index 9f35b15..60aef5c 100644 --- a/core-text/Cargo.toml +++ b/core-text/Cargo.toml @@ -6,6 +6,7 @@ description = "Bindings to the Core Text framework." license = "MIT OR Apache-2.0" repository = "https://github.com/servo/core-foundation-rs" edition = "2018" +rust-version = "1.65" [package.metadata.docs.rs] all-features = true diff --git a/io-surface/Cargo.toml b/io-surface/Cargo.toml index a2e0f3e..80ba8b5 100644 --- a/io-surface/Cargo.toml +++ b/io-surface/Cargo.toml @@ -7,6 +7,7 @@ version = "0.16.0" authors = ["The Servo Project Developers"] license = "MIT OR Apache-2.0" edition = "2018" +rust-version = "1.65" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin"