rust-bitcoin / rust-bitcoin/rust-bitcoin

Get rid of `serde` derivations

Open
#4,823 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.7k
Forks
1k
Avg merge
4d 39m
Merged PRs (30d)
86

Description

I would also like to get rid of the serde derives. Then we can finally get rid of syn and quote and friends.

And dependencies have a cost beyond compilation times. They also take time to review and are additional points of failure. (And all these things, including compilation times, are much worse for codegen depenendencies than for normal ones.)

Originally posted by @apoelstra in https://github.com/rust-bitcoin/rust-bitcoin/issues/4796#issuecomment-3168259289

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 locating the serde derives and the syn and quote dependencies across the repository. Determine the scope of replacing or removing them, then verify that the library still builds and its existing tests pass without these code-generation dependencies.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.