Expand description
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.
Re-exports§
pub use wasefire_error as error;
Modules§
- button
api-button - Provides API for button or touch sensors.
- clock
api-clock - Provides API for clock.
- crypto
internal-api-crypto - Provides API for cryptography.
- debug
- Provides debugging facilities.
- fingerprint
internal-api-fingerprint - Provides fingerprint matcher and/or sensor.
- gpio
api-gpio - Provides low-level API for GPIOs.
- led
api-led - Provides API for LEDs.
- platform
internal-api-platform - Provides API to interact with the platform.
- rng
api-rng - Provides API for random number generation.
- rpc
internal-rpc - Provides a generic API for RPCs.
- scheduling
- Provides API for scheduling.
- serial
internal-serial - Provides a generic API for serial communication.
- store
internal-api-store - Provides API for persistent storage.
- sync
- Provides API for mutexes and atomics.
- timer
api-timer - Provides API for timers.
- uart
api-uart - Provides API for UART.
- usb
internal-api-usb - Provides API for USB.
- vendor
api-vendor - Provides vendor API.
Macros§
- applet
Neither nativenortest - Defines the entry point of an applet.
- debug
- Prints a line to the debug output.
Structs§
- Error
- API errors.