#cryptography #glue #ecosystem

no-std crypto-glue

A facade over the RustCrypto ecosystem

3 releases

new 0.1.2 Mar 28, 2025
0.1.1 Mar 26, 2025
0.1.0 Sep 9, 2024

#433 in Magic Beans

Download history 4/week @ 2025-01-31 2/week @ 2025-02-07 87/week @ 2025-03-21

87 downloads per month

MPL-2.0 license

64KB
1.5K SLoC

Crypto Glue - Now Safe for Human Consumption!

This is a glue crate that combines the rustcrypto ecosystem into a single place.

Why?

The rustcrypto ecosystem is a highquality cryptographic provider, however it is made up of many micro-crates. Additionally, those crates are bound together by trait-crates, which requires a delecate process to add any single crate from the rustcrypto ecosystem. This also enables as many traits and features as possible so that documentation is complete.

For example, say that I add the rsa crate. Now I want to encode my public key to pkcs8. If I were to run cargo doc I would not find a method to do this. That's because the method is from the pkcs8 crate as a trait, and without it in scope the documentation won't show me it exists.

Generally this means if you want something from the rustcrypto ecosystem, you can reach for your glue bottle instead, and trust that it has nice type aliases and all the features you need.

Dependencies

~19–29MB
~517K SLoC