hyperium / hyperium/http

Should `Version` impl `Display`?

Open
#776 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.4k
Forks
378
Avg merge
1d 21h
Merged PRs (30d)
5

Description

I'm a little surprised that Version doesn't impl std::fmt::Display when I formatting the log, so I use Debug for now.

I searched issues but didn't find relevant topic.

Is adding the Display impl ok? Are there some concerns I missed?

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 locating the Version type and reviewing how it currently formats or exposes its value. Confirm whether a std::fmt::Display implementation is acceptable for the public API, then add focused coverage showing the intended formatted output and run the relevant test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.