| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| patches/ | 06-Sep-2024 | - | 19 | 17 | ||
| src/ | 06-Sep-2024 | - | 268 | 185 | ||
| .cargo_vcs_info.json | D | 06-Sep-2024 | 105 | 6 | 6 | |
| Android.bp | D | 06-Sep-2024 | 1.6 KiB | 65 | 60 | |
| Cargo.toml | D | 06-Sep-2024 | 1.2 KiB | 43 | 37 | |
| Cargo.toml.orig | D | 06-Sep-2024 | 924 | 29 | 25 | |
| LICENSE | D | 06-Sep-2024 | 11.1 KiB | 202 | 169 | |
| METADATA | D | 06-Sep-2024 | 626 | 21 | 19 | |
| MODULE_LICENSE_APACHE2 | D | 06-Sep-2024 | 0 | |||
| OWNERS | D | 06-Sep-2024 | 132 | 7 | 5 | |
| README.md | D | 06-Sep-2024 | 1.2 KiB | 23 | 17 | |
| TEST_MAPPING | D | 06-Sep-2024 | 314 | 18 | 17 | |
| cargo2rulesmk.json | D | 06-Sep-2024 | 62 | 5 | 4 | |
| cargo_embargo.json | D | 06-Sep-2024 | 443 | 28 | 27 | |
| rules.mk | D | 06-Sep-2024 | 446 | 18 | 11 |
README.md
1[](https://github.com/enarx/ciborium/actions?query=workflow%3A%22test%22) 2[](https://isitmaintained.com/project/enarx/ciborium "Average time to resolve an issue") 3[](https://isitmaintained.com/project/enarx/ciborium "Percentage of issues still open") 4 5 6# ciborium-io 7 8Simple, Low-level I/O traits 9 10This crate provides two simple traits: `Read` and `Write`. These traits 11mimic their counterparts in `std::io`, but are trimmed for simplicity 12and can be used in `no_std` and `no_alloc` environments. Since this 13crate contains only traits, inline functions and unit structs, it should 14be a zero-cost abstraction. 15 16If the `std` feature is enabled, we provide blanket implementations for 17all `std::io` types. If the `alloc` feature is enabled, we provide 18implementations for `Vec<u8>`. In all cases, you get implementations 19for byte slices. You can, of course, implement the traits for your own 20types. 21 22License: Apache-2.0 23