From 1bf915923cc782c52504709ff0a5266440f39788 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 11 Aug 2024 22:57:15 +0700 Subject: [PATCH] Bump MSRV to 1.65 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 0992b41e..61a8e862 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 79ce1c39..bedea041 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 70ead634..7a58be9f 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 98c141ea..8ede9df3 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 32f891fb..1a8dffa9 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 98e3f6a4..f3c96ba3 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 2d56d53d..aa166cbb 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 9f35b152..60aef5cb 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 a2e0f3e1..80ba8b5d 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"