commit | 5ac5c348237e4f04bb2a11aafbda4ac96a8d9ceb | [log] [tgz] |
---|---|---|
author | David Drysdale <[email protected]> | Wed Jan 24 17:46:05 2024 +0000 |
committer | David Drysdale <[email protected]> | Wed Jan 24 17:46:05 2024 +0000 |
tree | 300e9428ab7cffc314c3a1bb96c35d95f0c02467 | |
parent | 8dab05e2bc8e7f65b18420e27be2c0de77832684 [diff] |
Upgrade ciborium-io to 0.2.2 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/ciborium-io For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I4ff58a99dbcff2fc3a27230de2651fe2fad91790
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