graphprotocol / graphprotocol/stable-hash
Add usage examples
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 4
- Avg merge
- 28m
- Merged PRs (30d)
- 2
Description
I'm trying to use this crate as a rust novice and can't wrap my head around how I'm meant to use it?
There doesn't seem to be anyway to use a macro like #[derive(StableHash)] on my struct like you would with std::hash.
I'm just trying to hash a basic struct.
Any help would be appreciated!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the Rust crate and the #[derive(StableHash)] usage pattern, but no file or test is identified. Start by reading the crate's public API and current documentation, then add a minimal example for hashing a basic struct; done means a Rust novice can follow the example and understand whether derive-style usage is supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100