#io

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

#731 in Embedded development

Download history 1315789/week @ 2025-11-27 1679351/week @ 2025-12-04 1656333/week @ 2025-12-11 1287992/week @ 2025-12-18 806559/week @ 2025-12-25 1304475/week @ 2026-01-01 1876171/week @ 2026-01-08 1805610/week @ 2026-01-15 2083966/week @ 2026-01-22 2132107/week @ 2026-01-29 2214648/week @ 2026-02-05 2243799/week @ 2026-02-12 2461510/week @ 2026-02-19 2716117/week @ 2026-02-26 2955177/week @ 2026-03-05 2794579/week @ 2026-03-12

11,340,063 downloads per month
Used in 11,658 crates (23 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