#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

#469 in Embedded development

Download history 1535420/week @ 2025-10-31 1644327/week @ 2025-11-07 1643868/week @ 2025-11-14 1535213/week @ 2025-11-21 1408378/week @ 2025-11-28 1698127/week @ 2025-12-05 1652130/week @ 2025-12-12 1084147/week @ 2025-12-19 818293/week @ 2025-12-26 1510717/week @ 2026-01-02 1887344/week @ 2026-01-09 1914518/week @ 2026-01-16 2019295/week @ 2026-01-23 2140610/week @ 2026-01-30 2249793/week @ 2026-02-06 2249864/week @ 2026-02-13

9,108,279 downloads per month
Used in 10,509 crates (22 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