#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

#178 in Embedded development

Download history 697610/week @ 2024-09-03 651402/week @ 2024-09-10 594400/week @ 2024-09-17 658450/week @ 2024-09-24 673859/week @ 2024-10-01 696026/week @ 2024-10-08 700491/week @ 2024-10-15 703811/week @ 2024-10-22 677708/week @ 2024-10-29 689005/week @ 2024-11-05 697269/week @ 2024-11-12 691225/week @ 2024-11-19 544820/week @ 2024-11-26 672622/week @ 2024-12-03 749036/week @ 2024-12-10 564608/week @ 2024-12-17

2,653,752 downloads per month
Used in 4,734 crates (18 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