#cryptography #ecosystem #glue

no-std crypto-glue

A facade over the RustCrypto ecosystem

6 releases

new 0.1.5 Apr 25, 2025
0.1.4 Apr 17, 2025
0.1.2 Mar 28, 2025
0.1.0 Sep 9, 2024

#10 in Magic Beans

Download history 6/week @ 2025-02-05 315/week @ 2025-03-26 7/week @ 2025-04-02 80/week @ 2025-04-09 216/week @ 2025-04-16

618 downloads per month
Used in kanidm-hsm-crypto

MPL-2.0 license

100KB
2K 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

~16–25MB
~463K SLoC