rustls / rustls/ktls

Remove dependency on `memoffset` when MSRV is bumped to 1.77+

Open
#71 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
98
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi! I'm going down the list of reverse dependencies for memoffset.

core::mem::offset_of was stabilised in 1.77. Your MSRV is now 1.75.

I just wanted to leave a reminder here that you can remove the memoffset dependency whenever MSRV is next bumped (or willing to bump it for this).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the repository manifest and searching for uses of the memoffset dependency. Confirm whether the MSRV can be raised to Rust 1.77 or newer, then remove the dependency and replace only the identified uses with core::mem::offset_of; run the existing test suite to verify the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.