Crates.io | bitcoin-io |
lib.rs | bitcoin-io |
version | 0.1.3 |
source | src |
created_at | 2024-01-22 02:54:27.124811 |
updated_at | 2024-11-02 03:15:16.065913 |
description | Simple I/O traits for no-std (and std) environments |
homepage | |
repository | https://github.com/rust-bitcoin/rust-bitcoin |
max_upload_size | |
id | 1108257 |
size | 38,039 |
The std::io
module is not exposed in no-std
Rust so building no-std
applications which require
reading and writing objects via standard traits is not generally possible. Thus, this library exists
to export a minmal version of std::io
's traits which we use in rust-bitcoin
so that we can
support no-std
applications.
These traits are not one-for-one drop-ins, but are as close as possible while still implementing
std::io
's traits without unnecessary complexity.