-
Notifications
You must be signed in to change notification settings - Fork 19
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
Upgrade dependencies #78
base: main
Are you sure you want to change the base?
Conversation
I rebased this on the latest
Using any bogus argument, like
|
Ack, will take a look into it |
It seems like the // main.rs
app.run_with_args(&args); When this line is called, args are correct, but something fails further, into dependency. I think it's ffi::g_application_run(self.as_ref().to_glib_none().0, argc, argv.to_glib_none().0) Will investigate/report upstream further |
Is it possible that GTK is also parsing the CLI arguments for itself? That might explain why it crashes, because |
After some thinking, I think it;s In version But in latest version of As a dirty hack, we can change the line to execute ReGreet as: app.with_args(vec![]).run_async::<Greeter>(GreeterInit {
config_path: args.config,
css_path: args.style,
demo: args.demo,
}); This works, but... |
Ah, in that case, let's raise an issue upstream first and see how long they take to fix it and tag a release. If it takes too long, we could just add this hack. |
Created an issue for this problem, trackable here: Relm4/Relm4#667 |
I think it's kinda safe to introduce a workaround for now. It seems like |
Mostly minor/non-breaking updates, here's some notables:
clap
:4.1
->4.5
. Nothing breaking in between, minor size improvements,4.4+
requiresmsrv 1.70+
see: https://github.com/clap-rs/clap/blob/master/CHANGELOG.mdderivative
->educe
. Thederivative
crate is kinda dead for 3 years alread, as suggested alternative use educe instead. Migration changes are minimal (changing the names of attributes)greetd_ipc
:0.9
->0.10
. Again, nothing breaking here, dependencies upgrades and such: https://git.sr.ht/~kennylevinsen/greetd/loggtk4
:0.5
->0.9
.gdk4::auto::Monitor
no longer implementsstd::fmt::Display
;gdk4::auto::Display::open
not takesOption<&str>
instead of&str
;msrv 1.70+
;gtk::StyleContext::add_provider_for_display
moved intogtk::style_context_add_provider_for_display
. More changes in between available here: https://gtk-rs.org/blog/lru
:0.9
->0.12
. Nothing notable, see: https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.mdregex
:0.7
->0.10
. Minor perf improvements I guess: https://github.com/rust-lang/regex/blob/master/CHANGELOG.mdrelm4
:0.5
->0.9
. Follwing thegtk4
crate versions. There were some changes in how children templates are searched. The0.6
version introduced some breakage and a bug, which was fixed in0.7
. Code changes are noticable into thesrc/gui/component.rs
. The migration notes didn't really state these changes, so I had to ask for help for this migration from maintainers into the repo's discussions directly: https://github.com/orgs/Relm4/discussions/659tokio
:1.26
->1.38
. No changes were needed, though the release count in between is pretty big.msrv
stays on1.63
for now. Changes listed here: https://github.com/tokio-rs/tokio/releasestoml
:0.6
->0.8
. Minor cleanups/deps stuff,msrv
changed to1.70
, see: https://github.com/toml-rs/toml/blob/main/crates/toml/CHANGELOG.md