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

derive macro for `Storable` and `BoundedStorable`

Open
#93 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
backend

Research direction

Start by locating the Storable and BoundedStorable trait definitions and checking how the existing CandidType and Deserialize derives are supported. Done means the UserProfile example can derive both traits and use the resulting implementations for stable-structure storage, with coverage for the generated behavior.

Written by the indexing model from the issue text.

Description

It would be very useful to support the following:

#[derive(CandidType, Deserialize, Storable, BoundedStorable)]
struct UserProfile {
    token0_balance: u64,
    token1_balance: u64,
}
Dominant language
Rust
Stars
111
Forks
39
PR merge metrics
No merged PRs in 30d

Getting set up

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 dfinity/stable-structures

All issues in dfinity/stable-structures

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.