13 releases (7 breaking)

Uses new Rust 2024

0.8.1 Feb 6, 2026
0.8.0 Sep 11, 2025
0.7.0 Nov 12, 2024
0.6.0 Jul 23, 2024
0.1.3 Mar 31, 2023

#356 in Embedded development

26 downloads per month

Apache-2.0

220KB
3.5K SLoC

This crate provides high-level access to the applet API.

In particular, it provides the following:

  • A panic handler that prints the panic info and traps.
  • A global allocator using the rlsf crate.
  • High-level wrappers around the applet API.

The high-level wrappers provide the following:

  • A safe API. (The applet API requires unsafe.)
  • Rust types like byte slices (instead of their internal representation).
  • Closures for callbacks.

Wasefire

This project aims at making firmware development more accessible and secure by providing a platform for WebAssembly applets. See the book for more information or the quick start section to get started. See OpenSK for a FIDO2 security key implementation using Wasefire.

⚠️ Disclaimer ⚠️

This is not an officially supported Google product. This project is not eligible for financial rewards under the Google Open Source Software Vulnerability Rewards Program.

This is a research project and should be considered experimental. In particular, the project does not provide any guarantees. However, the project will try to follow the cargo SemVer guidelines for its crates. Currently, all crates are considered unstable.

Dependencies

~1.6–2.6MB
~48K SLoC