SoftbearStudios / SoftbearStudios/bitcode

Implement `Encode` for `Cow<'a, str>`

Open
#27 6 comments 1 reaction 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.