#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

#306 in Data structures

Download history 452368/week @ 2024-01-21 444427/week @ 2024-01-28 438473/week @ 2024-02-04 438277/week @ 2024-02-11 437895/week @ 2024-02-18 460819/week @ 2024-02-25 441120/week @ 2024-03-03 423832/week @ 2024-03-10 436237/week @ 2024-03-17 442312/week @ 2024-03-24 468093/week @ 2024-03-31 452696/week @ 2024-04-07 466215/week @ 2024-04-14 496141/week @ 2024-04-21 463956/week @ 2024-04-28 448552/week @ 2024-05-05

1,900,995 downloads per month
Used in 3,041 crates (15 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