RustCrypto Glue
  • Rust 99.5%
  • CSS 0.3%
  • HTML 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-10 12:01:39 +10:00
.github/workflows Build and test the library for WASM+JS environments (#32) 2026-05-13 10:31:34 +10:00
api-docs shrink header and add link 2026-02-07 13:24:59 +10:00
src Split modules into separate files, and cleanup imports (#45) 2026-11-10 12:01:39 +10:00
tests Split unit tests into separate integration tests (#42) 2026-10-27 14:36:08 +10:00
.gitignore Basics 2024-09-09 15:54:03 +10:00
Cargo.lock Remove unneeded dependency on rustls-pki-types on WASM32 (#46) 2026-10-27 14:34:21 +10:00
Cargo.toml Remove unneeded dependency on rustls-pki-types on WASM32 (#46) 2026-10-27 14:34:21 +10:00
clippy.toml Build and test the library in CI, fix tests on Windows, fix clippy (#28) 2026-05-09 18:28:36 +10:00
README.md Build and test the library for WASM+JS environments (#32) 2026-05-13 10:31:34 +10:00

Crypto Glue - Now Safe for Human Consumption!   Latest Version Latest Docs

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.

Platform-specific notes

WASM

The default Rust wasm32-unknown-unknown target does not provide sources of time or entropy, which some of this crate's dependencies require.

See Cargo.toml for a list for WASM+JS (browser and Node.js) environments.