Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binaryfields/zorio
Port of a subset of Rust's standard library I/O module to no_std
https://github.com/binaryfields/zorio
Last synced: 5 days ago
JSON representation
Port of a subset of Rust's standard library I/O module to no_std
- Host: GitHub
- URL: https://github.com/binaryfields/zorio
- Owner: binaryfields
- License: apache-2.0
- Created: 2019-01-25T03:17:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T03:21:07.000Z (almost 6 years ago)
- Last Synced: 2024-12-25T07:54:05.900Z (13 days ago)
- Language: Rust
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# zorio
## Overview
Port of a subset of Rust's standard library I/O module to no_std.
The implementation is taken directly from [libstd](https://github.com/rust-lang/rust/tree/master/src/libstd/io)
with small number of changes to make it work with no_std.
All interfaces and implementation match the original code since they did not need to be altered.
The only exception to this is Error/ErrorKind types where I rolled with something simpler for now.All credit for this work goes to the incredible Rust developers.
## Story
While working on a bare metal Raspberry Pi 3 project, I found that libcore lacks
data reading/writing functions available in libstd. Since most of them are generic
and operate on streams that are not tied to file/os implementation, why not make them
available to the world of embedded development.## Status
The following modules were ported over:
| Module | Status |
|-------------------|-------------|
| buffered | Skipped |
| cursor | Done |
| impls | Done |
| lazy | Skipped |
| mod | Done |
| stdio | Skipped |
| util | Skipped |## Credits
- Rust developers for providing an incredible language to develop in