hyperium / hyperium/http

Should conversions to StatusCode be implemented on more num types?

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

Nobody has claimed this yet.

A-status B-rfc S-feature
Dominant language
Rust
Stars
1.4k
Forks
378
Avg merge
1d 21h
Merged PRs (30d)
5

Description

Currently, it is only u16. For convenience, it would be nice to implement conversions for other num types: usize, u32, u64.

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

The issue names StatusCode and the existing u16 conversion but no file or test. Locate that implementation and its tests, then verify conversions for usize, u32, and u64 with the relevant test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.