#heapless #collection #arrayvec #fallible #traits #array #data

no-std collectable

Fallible, no_std-friendly collection traits

2 releases

0.0.2 May 24, 2020
0.0.1 May 24, 2020

#1322 in Data structures

Download history 6184/week @ 2024-07-22 5613/week @ 2024-07-29 4096/week @ 2024-08-05 5314/week @ 2024-08-12 6029/week @ 2024-08-19 5621/week @ 2024-08-26 5926/week @ 2024-09-02 7083/week @ 2024-09-09 6515/week @ 2024-09-16 6466/week @ 2024-09-23 7113/week @ 2024-09-30 8512/week @ 2024-10-07 8231/week @ 2024-10-14 8256/week @ 2024-10-21 7802/week @ 2024-10-28 3273/week @ 2024-11-04

27,751 downloads per month
Used in typed-store

Apache-2.0 OR MIT

7KB
87 lines

RustCrypto: Utilities

Project Chat dependency status Apache2/MIT licensed

This repository contains various utility crates used in the RustCrypto project.

Crates

Name crates.io Docs MSRV Description
blobby crates.io Documentation MSRV 1.39 Decoder of the simple de-duplicated binary blob storage format
block-buffer crates.io Documentation MSRV 1.41 Fixed size buffer for block processing of data
block‑padding crates.io Documentation MSRV 1.56 Padding and unpadding of messages divided into blocks
cmov crates.io Documentation MSRV 1.60 Conditional move intrinsics
collectable crates.io Documentation MSRV 1.41 Fallible, no_std-friendly collection traits
cpufeatures crates.io Documentation MSRV 1.40 Lightweight and efficient alternative to the is_x86_feature_detected! macro
dbl crates.io Documentation MSRV 1.41 Double operation in Galois Field (GF)
hex-literal crates.io Documentation MSRV 1.57 Procedural macro for converting hexadecimal string to byte array at compile time
inout crates.io Documentation MSRV 1.56 Custom reference types for code generic over in-place and buffer-to-buffer modes of operation.
opaque-debug crates.io Documentation MSRV 1.41 Macro for opaque Debug trait implementation
wycheproof2blb Utility for converting Wycheproof test vectors to the blobby format
zeroize crates.io Documentation MSRV 1.60 Securely zero memory while avoiding compiler optimizations

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

This crate provides a set of traits that can be used to abstract over various collection types. In particular, it supports traits for fallible operations (such as TryExtend) which are useful for supporting fixed-capacity containers, such as heapless::Vec or tinyvec::Array.

No runtime deps

Features