3 releases

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

#460 in Embedded development

Download history 701258/week @ 2024-12-05 737293/week @ 2024-12-12 424622/week @ 2024-12-19 305470/week @ 2024-12-26 651804/week @ 2025-01-02 897361/week @ 2025-01-09 810312/week @ 2025-01-16 917697/week @ 2025-01-23 955843/week @ 2025-01-30 1074355/week @ 2025-02-06 987358/week @ 2025-02-13 1102203/week @ 2025-02-20 1192171/week @ 2025-02-27 1494052/week @ 2025-03-06 1427492/week @ 2025-03-13 1761383/week @ 2025-03-20

6,085,697 downloads per month
Used in 5,314 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