Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make public deserialize methods `deser_v2` & `deser_v2_compressed`

Open
#84 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the public deserialize API and the deser_v2 and deser_v2_compressed methods in the Rust crate. Check how deserialize selects compressed versus uncompressed decoding, then make the requested methods directly callable and verify that uncompressed WASM use does not require compressed deserialization.

Written by the indexing model from the issue text.

Description

Specifically I'm interested in calling the deser_v2 method directly. My motivation is I'm using hdrhistogram in a WASM module where I only need to deserialize uncompressed histograms. By using the deserialize method the compiler can not statically determine that I will not be deserializing compressed histograms and flate2 gets included in my WASM.

I only included deser_v2_compressed in the title because I figured if you make public one of them then perhaps it makes sense to do both(??).

Dominant language
Rust
Stars
373
Forks
50
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from HdrHistogram/HdrHistogram_rust

All issues in HdrHistogram/HdrHistogram_rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.