#read-write #io-read #io #read #write

no-std dev ciborium-io

Simplified Read/Write traits for no_std usage

3 releases

0.2.2 Jan 24, 2024
0.2.1 May 8, 2023
0.2.0 Nov 21, 2021

#217 in Embedded development

Download history 707428/week @ 2024-11-15 600466/week @ 2024-11-22 602401/week @ 2024-11-29 722409/week @ 2024-12-06 735317/week @ 2024-12-13 336285/week @ 2024-12-20 357271/week @ 2024-12-27 708521/week @ 2025-01-03 904531/week @ 2025-01-10 814882/week @ 2025-01-17 921731/week @ 2025-01-24 970350/week @ 2025-01-31 1092809/week @ 2025-02-07 979464/week @ 2025-02-14 1107065/week @ 2025-02-21 1014513/week @ 2025-02-28

4,373,863 downloads per month
Used in 5,184 crates (19 directly)

Apache-2.0

11KB
183 lines

Workflow Status Average time to resolve an issue Percentage of issues still open Maintenance

ciborium-io

Simple, Low-level I/O traits

This crate provides two simple traits: Read and Write. These traits mimic their counterparts in std::io, but are trimmed for simplicity and can be used in no_std and no_alloc environments. Since this crate contains only traits, inline functions and unit structs, it should be a zero-cost abstraction.

If the std feature is enabled, we provide blanket implementations for all std::io types. If the alloc feature is enabled, we provide implementations for Vec<u8>. In all cases, you get implementations for byte slices. You can, of course, implement the traits for your own types.

License: Apache-2.0

No runtime deps

Features