rust-windowing / rust-windowing/winit
Neutralize platform-specific extension trait names
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
I noticed that a lot of our platform-specific extension trait have the name of the platform in their name.
This doesn't make sense because they are behind a cfg guard, it's not like they can collide.
Std also doesn't use platform names in their traits: see e.g. std::os::windows::process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the platform-specific extension traits referenced by this issue and review their current names and usages. Rename the traits to remove platform names while preserving the cfg-guarded APIs, then run the relevant project checks to confirm all references compile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100