| Crates.io | portable-io |
| lib.rs | portable-io |
| version | 0.0.4 |
| created_at | 2024-11-06 18:46:59.535838+00 |
| updated_at | 2025-01-13 15:57:54.297457+00 |
| description | " A subset of Rust `std::io` functionality supported for `no-std`. |
| homepage | |
| repository | https://github.com/brodycj/portable-io |
| max_upload_size | |
| id | 1438681 |
| size | 190,946 |
Traits, helpers, and type definitions for core I/O functionality.
A subset from Rust std::io functionality supported for no-std.
MSRV:
1.81.0nightly-2022-08-24NOTE: unstable configuration --cfg portable_io_unstable_all in Rust flags is required for Rust nightly
pre-2024-06-09 to enable error_in_core feature directive (stabilized in June 2024).
alloc (enabled by default) - mandatory feature - for alloc-related functionalityos-error (unstable feature) - support raw OS errors - with some KNOWN PANICS due to MISSING FUNCTIONALITYunix-iovec (unstable feature) - use iovec from libc for data stored in IoSlice & IoSliceMutportable_io_unstable_all - enable all unstable option(s):
min_specialization featureTo enable: use --cfg portable_io_unstable_all in Rust flags, set RUSTFLAGS env variable
when running cargo build or cargo test for example.
MIT or Apache 2.0 license options
NOTE that this code is adapted from Rust std library code version 1.59.0
(last release version that did not require unstable macro feature to build error module)