From f9f55d57ade39a9b054225642dfff66ca9936287 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 26 Jul 2023 14:24:27 -0700 Subject: [PATCH] Update `rust-version` and CHANGELOG for use of `BorrowedFd` --- wayland-backend/Cargo.toml | 4 ++-- wayland-client/CHANGELOG.md | 1 + wayland-client/Cargo.toml | 2 +- wayland-cursor/Cargo.toml | 2 +- wayland-egl/Cargo.toml | 2 +- wayland-protocols-misc/Cargo.toml | 2 +- wayland-protocols-plasma/Cargo.toml | 2 +- wayland-protocols-wlr/Cargo.toml | 2 +- wayland-protocols/Cargo.toml | 2 +- wayland-scanner/CHANGELOG.md | 1 + wayland-scanner/Cargo.toml | 2 +- wayland-server/CHANGELOG.md | 1 + wayland-server/Cargo.toml | 2 +- wayland-sys/Cargo.toml | 2 +- wayland-tests/Cargo.toml | 2 +- 15 files changed, 16 insertions(+), 13 deletions(-) diff --git a/wayland-backend/Cargo.toml b/wayland-backend/Cargo.toml index 0d2bcbb3790..2a9d768f873 100644 --- a/wayland-backend/Cargo.toml +++ b/wayland-backend/Cargo.toml @@ -3,7 +3,7 @@ name = "wayland-backend" version = "0.2.0" authors = ["Elinor Berger "] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" repository = "https://github.com/smithay/wayland-rs" documentation = "https://docs.rs/wayland-backend/" license = "MIT" @@ -23,7 +23,7 @@ raw-window-handle = { version = "0.5.0", optional = true } [dependencies.smallvec] version = "1.9" -# Some additional features can be enabled since wayland-rs requires at least Rust 1.59 +# Some additional features can be enabled since wayland-rs requires at least Rust 1.65 features = [ "union", # 1.49 "const_generics", # 1.51 diff --git a/wayland-client/CHANGELOG.md b/wayland-client/CHANGELOG.md index 1fe6b91385e..01f8ade67ad 100644 --- a/wayland-client/CHANGELOG.md +++ b/wayland-client/CHANGELOG.md @@ -7,6 +7,7 @@ - Bump bitflags to 2.0 - Updated wayland-backend to 0.2 - Calloop integration is now removed, to avoid tying wayland-client to it +- Use `BorrowedFd<'_>` arguments instead of `RawFd` ## 0.30.2 -- 30/05/2023 diff --git a/wayland-client/Cargo.toml b/wayland-client/Cargo.toml index d79297f8a51..d108135d600 100644 --- a/wayland-client/Cargo.toml +++ b/wayland-client/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/smithay/wayland-rs" authors = ["Elinor Berger "] license = "MIT" edition = "2018" -rust-version = "1.59" +rust-version = "1.65" categories = ["gui", "api-bindings"] keywords = ["wayland", "client"] description = "Bindings to the standard C implementation of the wayland protocol, client side." diff --git a/wayland-cursor/Cargo.toml b/wayland-cursor/Cargo.toml index 75827347c7f..cf2a67e36c5 100644 --- a/wayland-cursor/Cargo.toml +++ b/wayland-cursor/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/smithay/wayland-rs" authors = ["Elinor Berger "] license = "MIT" edition = "2018" -rust-version = "1.59" +rust-version = "1.65" categories = ["gui", "api-bindings"] keywords = ["wayland", "client"] description = "Bindings to libwayland-cursor." diff --git a/wayland-egl/Cargo.toml b/wayland-egl/Cargo.toml index badeac6e012..a484dae894a 100644 --- a/wayland-egl/Cargo.toml +++ b/wayland-egl/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/smithay/wayland-rs" authors = ["Elinor Berger "] license = "MIT" edition = "2018" -rust-version = "1.59" +rust-version = "1.65" categories = ["gui", "api-bindings"] keywords = ["wayland", "client"] description = "Bindings to libwayland-egl." diff --git a/wayland-protocols-misc/Cargo.toml b/wayland-protocols-misc/Cargo.toml index 87263e721c0..e9cc877552a 100644 --- a/wayland-protocols-misc/Cargo.toml +++ b/wayland-protocols-misc/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["wayland", "client", "server", "protocol", "extension"] description = "Generated API for misc and deprecated wayland protocol extensions" categories = ["gui", "api-bindings"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wayland-protocols-plasma/Cargo.toml b/wayland-protocols-plasma/Cargo.toml index 6cf73d9b94d..66e2d9971e6 100644 --- a/wayland-protocols-plasma/Cargo.toml +++ b/wayland-protocols-plasma/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["wayland", "client", "server", "protocol", "extension"] description = "Generated API for the Plasma wayland protocol extensions" categories = ["gui", "api-bindings"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wayland-protocols-wlr/Cargo.toml b/wayland-protocols-wlr/Cargo.toml index 3a716d5682e..fdd6509abef 100644 --- a/wayland-protocols-wlr/Cargo.toml +++ b/wayland-protocols-wlr/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["wayland", "client", "server", "protocol", "extension"] description = "Generated API for the WLR wayland protocol extensions" categories = ["gui", "api-bindings"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wayland-protocols/Cargo.toml b/wayland-protocols/Cargo.toml index dbf8c04a68a..a8af8b9ffb8 100644 --- a/wayland-protocols/Cargo.toml +++ b/wayland-protocols/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["wayland", "client", "server", "protocol", "extension"] description = "Generated API for the officials wayland protocol extensions" categories = ["gui", "api-bindings"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" [dependencies] diff --git a/wayland-scanner/CHANGELOG.md b/wayland-scanner/CHANGELOG.md index 50130c55602..a826d60d30d 100644 --- a/wayland-scanner/CHANGELOG.md +++ b/wayland-scanner/CHANGELOG.md @@ -5,6 +5,7 @@ #### Breaking changes - Bump bitflags to 2.0 +- Generate `BorrowedFd<'_>` arguments instead of `RawFd` # 0.30.1 -- 2023-06-17 diff --git a/wayland-scanner/Cargo.toml b/wayland-scanner/Cargo.toml index 5f26619b6e8..6632e884972 100644 --- a/wayland-scanner/Cargo.toml +++ b/wayland-scanner/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" categories = ["gui", "api-bindings"] keywords = ["wayland", "codegen"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" [lib] diff --git a/wayland-server/CHANGELOG.md b/wayland-server/CHANGELOG.md index f8e717e4cf6..a4eaf305392 100644 --- a/wayland-server/CHANGELOG.md +++ b/wayland-server/CHANGELOG.md @@ -9,6 +9,7 @@ - Bump bitflags to 2.0 - Updated wayland-backend to 0.2 +- Use `BorrowedFd<'_>` arguments instead of `RawFd` #### Bugfixes diff --git a/wayland-server/Cargo.toml b/wayland-server/Cargo.toml index 366ef765dce..1ff764a8090 100644 --- a/wayland-server/Cargo.toml +++ b/wayland-server/Cargo.toml @@ -9,7 +9,7 @@ categories = ["gui", "api-bindings"] keywords = ["wayland", "server", "compositor"] description = "Bindings to the standard C implementation of the wayland protocol, server side." edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" [dependencies] diff --git a/wayland-sys/Cargo.toml b/wayland-sys/Cargo.toml index a5486d26341..40b2da1a016 100644 --- a/wayland-sys/Cargo.toml +++ b/wayland-sys/Cargo.toml @@ -8,7 +8,7 @@ description = "FFI bindings to the various libwayland-*.so libraries. You should license = "MIT" categories = ["external-ffi-bindings"] edition = "2018" -rust-version = "1.59" +rust-version = "1.65" readme = "README.md" [dependencies] diff --git a/wayland-tests/Cargo.toml b/wayland-tests/Cargo.toml index ed9bb13d819..70311e1ec04 100644 --- a/wayland-tests/Cargo.toml +++ b/wayland-tests/Cargo.toml @@ -2,7 +2,7 @@ name = "wayland-tests" version = "0.1.0" edition = "2018" -rust-version = "1.59" +rust-version = "1.65" publish = false autotests = false