#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

#161 in Embedded development

Download history 649211/week @ 2024-07-21 639163/week @ 2024-07-28 611477/week @ 2024-08-04 680165/week @ 2024-08-11 746355/week @ 2024-08-18 671188/week @ 2024-08-25 655113/week @ 2024-09-01 669447/week @ 2024-09-08 588328/week @ 2024-09-15 652786/week @ 2024-09-22 657791/week @ 2024-09-29 726996/week @ 2024-10-06 674235/week @ 2024-10-13 699629/week @ 2024-10-20 686786/week @ 2024-10-27 710106/week @ 2024-11-03

2,812,684 downloads per month
Used in 4,521 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