Skip to content

0.22 backports#1945

Merged
sdroege merged 10 commits into
gtk-rs:0.22from
sdroege:0.22-backports
Apr 5, 2026
Merged

0.22 backports#1945
sdroege merged 10 commits into
gtk-rs:0.22from
sdroege:0.22-backports

Conversation

@sdroege

@sdroege sdroege commented Apr 5, 2026

Copy link
Copy Markdown
Member

No description provided.

sdroege and others added 10 commits April 5, 2026 11:34
…t in `MainContext::block_on()`

Everything else leads to hard to debug issues and was already documented
before as invalid usage.
Regression from the commit: 27e19a8
The function must be always exported for windows
One good way to keep Rust binary sizes down when using D-Bus is to use
`gio`’s D-Bus bindings and link dynamically to the system
`libgio-2.0.so`.

However, if you’re not already aware that `gio` provides D-Bus bindings,
it’s hard to discover that it does. For example, searching for "dbus" on
https://crates.io/ does not list `gio` as an alternative.

This commit addresses that by including the terms "D-Bus" and "DBus" in
the `gio` package keywords and description. We include both "D-Bus" and
"DBus" because that’s what other D-Bus crates, such as [`dbus`][1] and
[`zbus`][2], also do.

  ### Steps to reproduce
  1. Go to https://crates.io/search?q=dbus&sort=downloads

  ### Expected result
  `gio` is listed on the first page.

  ### Actual result
  `gio` is not listed at all, despite having enough total downloads to
  qualify for the top 10 results.

[1]: https://github.com/diwic/dbus-rs/blob/eee6bf5b2d9ff81fabd281cb24b222455f2b5919/dbus/Cargo.toml#L10C12-L10C28
[2]: https://github.com/z-galaxy/zbus/blob/3d3491dabe1914b619305e56e856b5c3555cca1b/zbus/Cargo.toml#L10C12-L10C36
… the parent class/interface is deprecated

Fixes gtk-rs#1941
@sdroege sdroege merged commit 0835bbc into gtk-rs:0.22 Apr 5, 2026
21 of 58 checks passed
@sdroege sdroege deleted the 0.22-backports branch April 5, 2026 08:51
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.

3 participants