Skip to content

WIP: Compatible with Rust 2024 Edition - #1498

Closed
phoepsilonix wants to merge 3 commits into
Morganamilo:masterfrom
phoepsilonix:Rust_2024_Edition
Closed

WIP: Compatible with Rust 2024 Edition#1498
phoepsilonix wants to merge 3 commits into
Morganamilo:masterfrom
phoepsilonix:Rust_2024_Edition

Conversation

@phoepsilonix

@phoepsilonix phoepsilonix commented Jan 13, 2026

Copy link
Copy Markdown

https://gitlab.com/phoepsilonix/raur

Updated to reqwest 0.13.1
However, using native-tls to eliminate dependencies on aws-lc-rs and aws-lc-sys.
https://gitlab.com/davidbittner/raur/-/merge_requests/30

https://gitlab.com/tagawa0525/raur
ref commit 20388cb9cf106de34e152da002045d8c8edce2d3

Remove explicit 'ref' binding modifiers in match patterns as they are no longer allowed when the default binding mode is already a reference. This resolves compilation errors introduced by Rust 2024 edition changes to match ergonomics.
https://gitlab.com/davidbittner/raur/-/merge_requests/29

When using rustls with the reqwest package, version 0.13.1 has a dependency on aws-lc-rs. Attempts to remove this dependency resulted in increased errors during communication with the AUR, despite the build itself succeeding. Therefore, it may be advisable to halt updates to the reqwest package at version 0.12.28.

This merge request avoids the issue by using native-tls in reqwest 0.13.1.

Updated to reqwest 0.13.1
However, using native-tls to eliminate dependencies on aws-lc-rs and
aws-lc-sys.

https://gitlab.com/tagawa0525/raur
ref commit 20388cb9cf106de34e152da002045d8c8edce2d3

Remove explicit 'ref' binding modifiers in match patterns as they are
no longer allowed when the default binding mode is already a reference.
This resolves compilation errors introduced by Rust 2024 edition changes
to match ergonomics.
@phoepsilonix
phoepsilonix marked this pull request as ready for review January 13, 2026 17:20
@phoepsilonix

Copy link
Copy Markdown
Author

Adjustments have been made to the features of raur.

  1. Specifying rusttls-tls enables the default feature for reqwest.
  2. Specifying rusttls-ring enables the rustls-no-provider and ring features for reqwest.
  3. Specifying native-tls enables the native-tls feature for reqwest, typically activating OpenSSL.

@phoepsilonix

Copy link
Copy Markdown
Author

The default has been set to native-tls.

Specifying rusttls-tls enables the default feature for reqwest.
Specifying rusttls-ring enables the rustls-no-provider and ring features for reqwest.
Specifying native-tls enables the native-tls feature for reqwest, typically activating OpenSSL.

The default has been set to native-tls.
@phoepsilonix

Copy link
Copy Markdown
Author

I'll wait for the merge.
https://gitlab.com/davidbittner/raur/-/merge_requests/30

@phoepsilonix phoepsilonix changed the title Compatible with Rust 2024 Edition WIP: Compatible with Rust 2024 Edition Jan 14, 2026
@phoepsilonix phoepsilonix reopened this Jan 14, 2026
phoepsilonix added a commit to phoepsilonix/paru that referenced this pull request Jan 14, 2026
phoepsilonix added a commit to phoepsilonix/paru that referenced this pull request Jan 15, 2026
@phoepsilonix

Copy link
Copy Markdown
Author

Once the raur update is adopted and the version number is updated to 8.0.0, we can support Rust 2024 Edition by updating the raur version to 8.0.0 in both paru and aur-depends.
Morganamilo/aur-depends#24

phoepsilonix added a commit to phoepsilonix/paru that referenced this pull request Jan 15, 2026
phoepsilonix added a commit to phoepsilonix/paru that referenced this pull request Jan 15, 2026
@phoepsilonix

Copy link
Copy Markdown
Author

#1500

phoepsilonix added a commit to phoepsilonix/paru that referenced this pull request Jan 18, 2026
1. Updated to reqwest 0.13.1
However, using native-tls to eliminate dependencies on aws-lc-rs and
aws-lc-sys.

https://gitlab.com/tagawa0525/raur
ref commit 20388cb9cf106de34e152da002045d8c8edce2d3

Remove explicit 'ref' binding modifiers in match patterns as they are
no longer allowed when the default binding mode is already a reference.
This resolves compilation errors introduced by Rust 2024 edition changes
to match ergonomics.

2. Update raur v8.0.0
https://gitlab.com/davidbittner/raur/-/merge_requests/30

PR Morganamilo#1498
Morganamilo/aur-depends#24

Specifying native-tls enables the native-tls feature for reqwest, typically activating OpenSSL.
Specifying rusttls-tls enables the default feature for reqwest.
Specifying rusttls-ring enables the rustls-no-provider and ring features for reqwest.

The default has been set to native-tls.
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