commit | 6d9255490fc84ed3069db1f8bcd0a4389b25b504 | [log] [tgz] |
---|---|---|
author | Per Larsen <[email protected]> | Thu Nov 09 00:46:22 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Nov 09 00:46:22 2023 +0000 |
tree | 42862a95d41484723727066fcd8dd5567412ddbb | |
parent | e84a8e4a137c624f026ba30988904d3adc6757c9 [diff] | |
parent | 4f87ec065823b20475775bee615c7ae2b2c10516 [diff] |
Adding autogenerated Trusty makefile rules am: 4f87ec0658 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ciborium-io/+/2751865 Change-Id: I8436a44cded4a2c0a8ecebc755bad13a46dba4d5 Signed-off-by: Automerger Merge Worker <[email protected]>
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