| commit | f628325a5e5ec05d61021ac37c7cb8f51bb91a0f | [log] [tgz] |
|---|---|---|
| author | James Farrell <jamesfarrell@google.com> | Tue May 21 15:04:14 2024 +0000 |
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 21 15:04:14 2024 +0000 |
| tree | 43a77fe401f71474635250f8ab1a52c0d43c6485 | |
| parent | 29d6a32571a65dfb78a8db4a41effd7851003ff5 [diff] | |
| parent | 4c6c87304130eb5d5c003e54b04eb1f28f700cc2 [diff] |
Update Android.bp by running cargo_embargo am: bf55e71962 am: 4c6c873041 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ciborium-io/+/3095422 Change-Id: I567882307bbedb1fea32dd4db89282b1cb894b57 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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