Skip to content

Conversation

elmarco
Copy link
Contributor

@elmarco elmarco commented Sep 23, 2025

Allow to build glib crates with lower external dependencies:

  • make "proc-macro-crate" optional in glib-macros
  • make "futures*" crates optional in glib

The "proc-macro-crate" brings many dependencies (toml_edit, indexmap,
hashbrow, winnow...) and is often needless.

This helps bring glib-rs to projects like QEMU that try to use a minimal
set of dependencies, and package dependencies manually with meson wraps.

Signed-off-by: Marc-André Lureau <[email protected]>
This reduces the amount of extra dependencies for projects who don't
need or use futures, such as QEMU atm.

Signed-off-by: Marc-André Lureau <[email protected]>
@sdroege
Copy link
Member

sdroege commented Sep 29, 2025

@bilelmoussaoui Good for you too?

@sdroege sdroege merged commit 757579d into gtk-rs:main Oct 2, 2025
48 checks passed
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.

2 participants