Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regen & bump MSRV #1430

Merged
merged 3 commits into from
Jul 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- stable
- beta
- nightly
- "1.65.0"
- "1.70"
conf:
- { name: "gtk4", features: "v4_12,xml_validation,blueprint", test_sys: false }
- { name: "gsk4", features: "v4_10,broadway", test_sys: true }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For more information about each crate, please refer to their `README.md` file in

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gdk4-wayland/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "gdk4-wayland"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[features]
v4_4 = ["ffi/v4_4", "gdk/v4_4"]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-wayland/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GDK Wayland contains functions specific to the Wayland backend.

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4-wayland/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
name = "gdk4-wayland-sys"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[package.metadata.system-deps.gtk4_wayland]
name = "gtk4-wayland"
Expand Down
2 changes: 1 addition & 1 deletion gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4-win32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "gdk4-win32"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
build = "build.rs"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-win32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GDK Win32 contains functions specific to the Win32 backend.

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4-win32/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4-x11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "gdk4-x11"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
[features]
v4_4 = ["ffi/v4_4", "gdk/v4_4"]
v4_10 = ["ffi/v4_10", "v4_4", "gdk/v4_10"]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-x11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GDK X11 contains functions specific to the X11 backend.

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gdk4-x11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4-x11/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
name = "gdk4-x11-sys"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[package.metadata.system-deps.gtk4_x11]
name = "gtk4-x11"
Expand Down
2 changes: 1 addition & 1 deletion gdk4-x11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "gdk4"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
[lib]
name = "gdk4"

Expand Down
2 changes: 1 addition & 1 deletion gdk4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ of [gtk4-rs](https://github.com/gtk-rs/gtk4-rs/).

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gdk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gdk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
name = "gdk4-sys"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion gdk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gir-files
Submodule gir-files updated 2 files
+2 −1 Gdk-4.0.gir
+7 −4 Gtk-4.0.gir
2 changes: 1 addition & 1 deletion gsk4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "gsk4"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
[lib]
name = "gsk4"

Expand Down
2 changes: 1 addition & 1 deletion gsk4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Vulkan implementation.

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gsk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
name = "gsk4-sys"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion gsk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gtk4-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT"
name = "gtk4-macros"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
[lib]
proc-macro = true

Expand Down
2 changes: 1 addition & 1 deletion gtk4-macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Macro helpers for GTK 4 bindings, part of [gtk4-rs](https://github.com/gtk-rs/gt

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion gtk4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "gtk4"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"
[lib]
name = "gtk4"

Expand Down
2 changes: 1 addition & 1 deletion gtk4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See also:

## Minimum supported Rust version

Currently, the minimum supported Rust version is `1.65.0`.
Currently, the minimum supported Rust version is `1.70`.

## "Hello, World!" example program

Expand Down
15 changes: 15 additions & 0 deletions gtk4/src/auto/map_list_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,28 @@
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
use crate::SectionModel;
use glib::{
prelude::*,
signal::{connect_raw, SignalHandlerId},
translate::*,
};
use std::{boxed::Box as Box_, fmt, mem::transmute};

#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
glib::wrapper! {
#[doc(alias = "GtkMapListModel")]
pub struct MapListModel(Object<ffi::GtkMapListModel, ffi::GtkMapListModelClass>) @implements gio::ListModel, SectionModel;

match fn {
type_ => || ffi::gtk_map_list_model_get_type(),
}
}

#[cfg(not(any(feature = "v4_12")))]
glib::wrapper! {
#[doc(alias = "GtkMapListModel")]
pub struct MapListModel(Object<ffi::GtkMapListModel, ffi::GtkMapListModelClass>) @implements gio::ListModel;
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
2 changes: 1 addition & 1 deletion gtk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links = "gtk-4"
name = "gtk4-sys"
repository = "https://github.com/gtk-rs/gtk4-rs"
version = "0.7.0"
rust-version = "1.64"
rust-version = "1.70"

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion gtk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
from gir-files (https://github.com/gtk-rs/gir-files @ 744be9fbbbed)
from gir-files (https://github.com/gtk-rs/gir-files @ 36a8fad4e0ba)
Loading