SoftbearStudios / SoftbearStudios/bitcode
Implement `Encode` for `Cow<'a, str>`
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 671
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Hey!
I'm trying to encode a Cow<'static, str> but I don't think it's implemented. Is this intentional?
Please let me know if I'm missing something or if you don't have time to add it -- I can submit a PR :)
Thanks
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
Start by locating the Encode trait and the existing implementation for string types, then check how Cow<'a, str> is represented in the crate. The work is done when Cow<'static, str> can be encoded consistently with supported string values and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100