Skip to content

Comments

chore(deps): update rust crate glib to 0.22.0#258

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/glib-0.x
Open

chore(deps): update rust crate glib to 0.22.0#258
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/glib-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2026

This PR contains the following updates:

Package Type Update Change
glib (source) workspace.dependencies minor 0.21.50.22.0

Release Notes

gtk-rs/gtk-rs-core (glib)

v0.22.0

Compare Source

Bernhard M. Wiedemann:
      glib-macros: Use BTreeMap instead of HashMap

Biagio Festa:
      glib-macros/async_test: unwrap result when setting default context
      glib-macros/async_test: dont move main context within closure
      glib/bytes: relax start offset constraint for `from_bytes`

Bilal Elmoussaoui:
      ci: Switch from gsvbuild to MSVC
      Generate bindings for win32/unix GLib/Gio
      Build new crates on CI
      gio/unix: Remove the manual fallback for MountEntry
      glib: Lower host dep requirement
      glib/unix: Add missing futures feature
      gio/unix: Ignore a clippy lint
      gio: Comment out a test & drop UnixFdMessage
      gio/tests: Remove no longer useful headers
      gio: Move various config options to gio-unix
      glib: Remove no longer needed manual ffi functions
      glib/sys: Don't generate UnixPipe
      Regenerate with fixed GIR files
      glib/source: Fix imports on Win32
      glib/win32: Add missing imports
      gio/win32: Manually implement streams
      gio/win32: Add a type for GNetworkMonitorBase and drop duplicated manual ones
      gio/win32: Add missing dep
      deny: Drop no longer needed skips
      Add missing licenses
      Adapt to rust nightly docs changes
      gio: Move test to gio-unix
      gdk-pixbuf: Ignore another clippy lint
      Fix docs for new crates
      Force update windows-sys for new crates
      win32: Always depend on windows-sys
      win32: Guard std::os::windows usage
      gio/win32: Add missing feature
      Re-export preludes
      glib: Use 'static lifetime for nick/name
      Use 'a lifetime instead
      glib: Mark push_thread_default as renamed

Casey Jao:
      Clarify the GObject subclass mechanism
      Add missing comment markers
      Update glib/src/subclass/mod.rs
      Clarify Rust-C analogy for external interface
      Improve diagram
      Fix alignment

François Laignel:
      gio: fix compilation with beta toolchain

Guillaume Gomez:
      Update `trybuild2` version to `1.3.0`

Marc-André Lureau:
      glib: fix GStringBuilder::copy_into
      glib-macros: make proc-macro-crate optional
      glib: add 'futures' feature
      workspace: use glib default-features = false

Maximiliano Sandoval:
      image: Add python3-requests
      binding_group: Rename transform fns to with_value
      binding_group: Add lifetimes to BindingBuilder fns
      binding_group: Add transforms with concrete types
      binding_group: Add test for concrete transforms

Philipp Jungkamp:
      gio: Fix segfault in ListStore::find_with_equal_func
      gio: Add exit_code methods to ApplicationCommandLine
      gio: Remove {set,get}_exit_status from Gir generation
      gio: Fix ApplicationCommandLineExtManual draft
      glib: Add logging bridge for structured logs

Renyi Zhao:
      glib: Fix misuse of operator in subtract_days
      pango: Fix out-of-bounds access in itemize functions
      graphene: Fix UB in intersect_triangle by validating t_out before assume_init
      cairo: Add bounds check for nth in region_get_rectangle to prevent UB
      cairo: Fix integer overflow in create_for_data's len check
      glib: Fix UB in spawn_async_with_pipes by validating success before assume_init

Rose Davidson:
      cairo: Fix return type for cairo_script_create_for_stream.
      cairo: write-to-stream callbacks should accept const pointers to data

Sebastian Dröge:
      Post release version bump
      Deploy 0.21 docs and drop 0.15 docs
      glib: Fix new clippy warnings
      glib: Only build regex compiletests if the corresponding feature is enabled
      glib: Fix segfault in `List::retain()`
      glib: Compare lengths in `<StrV as PartialEq<[&str]>>::eq` too
      glib: Null-terminate on every iteration in `PtrSlice::extend_from_slice`
      glib: Avoid more integer overflows when reserving space in `PtrSlice` / `Slice` / `StrV`
      Update Cargo.lock
      gio: Make etag in `File::replace_contents_async()` optional
      glib-macros: Make main context the thread-default one in `#[async_test]`
      pango: Generate new `FontColor` enum
      pango: Add new `v1_57` feature
      ci: Don't build pango with `--all-features` for now
      glib: Fix pointer signedness
      gio: `DataInputStream::read_line_async()` can return `None` slices
      gio: Use correct finish function for `DataInputStream::read_line_utf8_async()`
      Update Cargo.lock
      Allows windows-sys 0.61 too
      Update Cargo.lock
      deny: Update
      pango: Fix off-by-one in assertion for `pango::itemize()`
      glib: Update expected compiler error texts in compiletests for rustc 1.90
      glib: Fix some new 1.90 clippy warnings
      Update dependencies
      glib: Fix typo in comment
      gio: Fix typo in docs
      Update MSRV to 1.86
      Update all dependencies
      Switch MSRV CI to 1.86
      glib: Fix typo in docs
      ci: Only run glib-macros tests on stable
      gio: Remove pointless, empty build.rs
      glib: Fix `Regex::match` API
      glib: Add some missing debug assertions to the `Regex` API
      gio: Fix GSettings test
      Update gir
      Regenerate with latest gir
      Remove `--cfg docsrs` from the Cargo.tomls
      Update docs.rs hacks in cairo-sys build.rs
      Don't pass `--cfg docsrs` via RUSTFLAGS on the CI
      glib: Clean up `Regex` tests
      Update various dependencies
      glib-sys: Add type aliases for all the GLib types
      Update MSRV to 1.92
      Fix new clippy warnings
      Update Cargo.lock
      Update versions to 0.22.0-alpha.1
      Add missing package metadata to Unix/Win32 crates
      Add more missing package metadata to Unix/Win32 crates
      Lower local workspace dependencies to any alpha version
      Add workspace dependencies for Unix/Win32 crates
      Untangle Win32/Unix crate dependencies some more
      gio-win32: Fix FFI crate name
      Run `cargo fix --edition`
      Update to edition 2024
      Change various code to avoid too early dropped temporaries
      glib-macros: Fix downgrade macro
      gio: Remove unnecessary parenthesis around type
      Remove unnecessary unsafe blocks
      Update gir
      Regenerate with latest gir
      gio: Fix indentation
      glib: Allow wrapper macro to expand unsafe blocks
      Fix a couple of new clippy warnings
      Update versions to 0.22.0-alpha.2
      Update Cargo.lock
      Update to `resolver = "3"`
      glib: Mark `setenv()` / `unsetenv()` as unsafe
      Update GLib 2.88 version requirement to >= 2.87 and 2.86 to >= 2.86
      glib-unix: Mark g_closefrom() as unsafe
      gio: Generate new API
      gio: Add missing v2_88 feature
      ci: Run glib/gio tests with v2_88
      Update Cargo.lock
      Update versions to 0.22.0-alpha.2
      cairo: Use dynamically linked x11-dl crate instead of x11
      glib: Move some Windows-specific unsafe code in unsafe functions into unsafe blocks
      Update gir
      Regenerate with latest gir
      gio: Add back `Socket::from_raw_fd()` / `::from_raw_socket()`
      Update gir
      Regenerate with latest gir
      Update dependencies
      Update versions to 0.22.0

Sebastian Wiesner:
      Impl AsFd for FileDescriptorBased
      Implement Display for ObjectPath
      Add subscribe_to_signal
      Use "named" parameters for subscribe_to_signal
      Add receive_signal and receive_signal_parameters
      Add simple example about DBus signals

Tau Gärtli:
      Generate Gio.DBusObjectManagerClient
      Move customized auto-generate code to manual
      Combine impls
      Mark as send+sync
      Ignore C APIs
      Manually implement interface-proxy-properties-changed
      Suppress doc alias from checker
      Split constructors to simplify signature
      Update gir and no longer needed remove manual impls
      Regen other crates
      Split sync methods into overloads with and without fn
      Split async+callback methods into overloads with and without fn
      Overloads for new_for_bus
      gio: Make DBusProxy subclassable
      gio: Add object manager example

Thibault Saunier:
      glib: Add Error::with_domain constructor and code getter

Tomoaki Kawada:
      glib: Fix overflow in `StrV::reserve` when checking capacity
      glib: Fix overflow in `StrV::extend_from_slice` when checking capacity
      glib: Null-terminate on every iteration in `StrV::extend_from_slice`
      glib: Compare lengths in `<StrVRef as PartialEq<[&str]>>::eq`

Zachary S:
      glib: Don't drop `T` if `ThreadGuard<T>` is dropped on the wrong thread.
      glib: Don't double-panic if `ThreadGuard::into_inner` is called on the wrong thread.

fbrouille:
      Add gio::IOModule and gio::IOModuleScope
      Add gio::File
      Fix gio::file::measure_disk_usage
      Add an example for gio::Vfs implementation
      Add gio::subclass::FileEnumerator async vfuncs

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 20, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package glib@0.21.5 --precise 0.22.0
    Updating crates.io index
error: failed to select a version for the requirement `glib = "^0.21"`
candidate versions found which didn't match: 0.22.0
location searched: crates.io index
required by package `gtk4 v0.10.3`
    ... which satisfies dependency `gtk = "^0.10.3"` of package `nmrs-gui v1.1.0 (/tmp/renovate/repos/github/cachebag/nmrs/nmrs-gui)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants