rust-lang / rust-lang/rust-bindgen

Emitting or deriving trait implementations

Open
#886 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-derive E-less-easy enhancement help wanted meta
Dominant language
Rust
Stars
5.3k
Forks
829
Avg merge
1d 1h
Merged PRs (30d)
15

Description

Let's implement all the traits!!

All of the "Derive Blah when possible" issues have code in tree already that they can crib from, so shouldn't be too difficult to write.

Once we start deriving lots of different traits, I expect we may find that we can unify their implementations, or at least make a generic CanDeriveTrait<T: DerivableTrait> kind of generic thing.


Contributor guide

Open the contributing guide

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 reviewing the linked issues 875 through 885 and their existing implementations to identify which trait tasks remain unchecked. Determine whether the remaining manual and derived implementations share a workable approach; done means the applicable checklist items are implemented and validated by the corresponding issue tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.