Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

GTK don't use the latest version of system-deps libary #528

Closed
qarmin opened this issue May 14, 2021 · 3 comments
Closed

GTK don't use the latest version of system-deps libary #528

qarmin opened this issue May 14, 2021 · 3 comments

Comments

@qarmin
Copy link

qarmin commented May 14, 2021

Maybe I'm missing something but system-deps provide version 3.1.1 on crates.io https://crates.io/crates/system-deps

and GTK uses version 3.x

[build-dependencies]
system-deps = "3"

but in my and others apps I see that system-deps is pin to version "1.3.2" even after executing cargo update

https://github.com/GuillaumeGomez/process-viewer/blob/e627a59c82451d425376b1a130e4d8d349528f63/Cargo.lock#L770-L771

https://github.com/qarmin/czkawka/blob/18ae283e8b86f202ae7c9881fb9854cee7f13410/Cargo.lock#L1930-L1931

@fengalin
Copy link
Contributor

Your application uses glib v0.10.1, which transitively depends on system-deps v1.3.x.

cargo update should upgrade system-deps properly when you switch to the newest gtk3-rs, but it's not released yet.

@qarmin
Copy link
Author

qarmin commented May 14, 2021

I completely forgot that Gtk-rs such rarely publich new version and I use old version

@qarmin qarmin closed this as completed May 14, 2021
@fengalin
Copy link
Contributor

I completely forgot that Gtk-rs such rarely publich new version and I use old version

That's true! :) We are volunteers striving to provide a good gtk and other crates Rust experience, and it sometimes takes times before we reach something we deem appropriate for a release. Note that there will be a new release shortly with many many improvements and breaking changes. One thing which might help when upgrading is using the get prefix removal migration tools. See this comment for pointers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants