io: Missing methods on the `Seek` and `BufRead` trait

Open
#686 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
embedded-iot

Research direction

Start by comparing the embedded_io::Seek and embedded_io::BufRead traits with their std::io counterparts, focusing on seek_relative and skip_until. Determine the API and implementation scope for adding either method; done means the project has a decided, compatible approach for the requested trait methods.

Written by the indexing model from the issue text.

Description

I am in the process of adapting some code from std::io to embedded-io and I noticed some missing methods on mbedded_io::Seek/mbedded_io::BufRead compared to their equivalent std::io:

Do you plan to add them?
I am specifically interested in BufRead::skip_until and Seek::seek_relative that claims to perform better in some cases.

Dominant language
Rust
Stars
2.7k
Forks
282
PR merge metrics
No merged PRs in 30d

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.

More from rust-embedded/embedded-hal

All issues in rust-embedded/embedded-hal

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.