rust-windowing / rust-windowing/softbuffer
Tracking issue for potentially useful features in future Rust versions
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 506
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
As of the time of writing, the MSRV for softbuffer is 1.64.0. As far as I can tell there is no MSRV policy, but the informal rule seems to be that the limit is Rust versions released up to seven months ago. This issue keeps track of features that may be useful to softbuffer, but cannot be used yet because we don't have the required Rust version.
- Nightly
- Fallible allocation could be worked into the error enum to provide a condition for low-memory systems.
- We implement some parts as what's essentially a
tryblock, but as a closure that is immediately called. Example. It would be nice to replace those cases with a simpletryblock. - We use a
Boxto wrapSurfaceDispatchin order to keep the type size predictable. However, for low memory systems we could use theallocator_apifeature to provide a custom allocator to reduce allocations.
Feel free to add more that I've missed.
Contributor guide
No contributing guide indexed for this repository
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
Review the MSRV context and the referenced implementations in src/wayland/mod.rs and src/lib.rs. There is no single implementation target or completion condition yet; select a listed Rust feature, confirm its version requirements, and define the resulting change and tests before starting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100