Skip to content

Update dependencies and migrate to Rust 2024#56

Open
cyb77 wants to merge 1 commit intogeph-official:masterfrom
cyb77:master
Open

Update dependencies and migrate to Rust 2024#56
cyb77 wants to merge 1 commit intogeph-official:masterfrom
cyb77:master

Conversation

@cyb77
Copy link
Copy Markdown
Contributor

@cyb77 cyb77 commented Mar 1, 2025

The "rand" crate is held back on some crates because other dependencies depend on an older version of it.
The "hyper-rustls" crate is also held back because of the same reason (the "aws-rs" crates).

The "geph5-client-android" crate is updated so that it works with the newer egui/eframe stack.
A "manifest.yaml" file is added and is used if the build is done through "xbuild", to pull in some metadata about the app such as the icon or permissions.
[Unfortuantely, the on screen keyboard is still broken on android.]

All crates were migrated to Rust 2024 edition. This required wrapping some parts of the code that set or unset environment variables in an unsafe clause, and replacing the "gen" methods on the crates that depend on the older rand crate to "r#gen", as gen is now a reserved keyword.

Beside those, there are the crates that have been:

  • rand v0.8.5 --> 0.9.0
  • axum v0.7.9 --> 0.8.1
  • pollster v0.2.5/0.3 --> 0.4
  • sqlx v0.7.4 --> 0.8.3
  • thiserror v1.0.69 --> 2.0.11
  • blake3 v1.5.1 --> 1.6.1
  • dirs v5.0.0 --> v6.0.0
  • itertools v0.13.0 --> 0.14.0
  • simple-dns v0.7/0.9 --> 0.10
  • smol_str v0.2 --> 3.2
  • tun v0.6.1 --> 0.7.13
  • egui v0.28.1 --> 0.31.0
  • egui-winit v0.28.1 --> 0.31.0
  • eframe v0.28.1 --> 0.31.0
  • env_logger v0.10.2 --> 0.11.6
  • android_logger v0.13.3 --> 0.14.1
  • egui_plot v0.28.1 --> 0.31.0
  • egui_extras v0.28.1 --> 0.31.0
  • winreg v0.52.0 --> v0.55.0
  • governor v0.6.3 --> 0.8.1
  • sysinfo v0.30.13 --> 0.33.1

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.

1 participant