Cargo Features
wasefire-applet-api has no features set by default.
[dependencies]
wasefire-applet-api = { version = "0.7.0", features = ["host", "wasm", "api-button", "api-crypto-ccm", "api-crypto-ec", "api-crypto-gcm", "api-crypto-hash", "api-crypto-hkdf", "api-crypto-hmac", "api-gpio", "api-led", "api-platform", "api-platform-protocol", "api-platform-update", "api-radio-ble", "api-rng", "api-store", "api-store-fragment", "api-timer", "api-uart", "api-usb-serial", "full-api", "native", "internal-api-crypto-hash"] }
- host
-
Compiles for host or wasm (choose exactly one).
Enables sealed
- wasm
-
API features.
Enables api-button of wasefire-applet-api-macro
- api-crypto-ccm full-api?
-
Enables api-crypto-ccm of wasefire-applet-api-macro
- api-crypto-ec full-api?
-
Enables api-crypto-ec of wasefire-applet-api-macro
- api-crypto-gcm full-api?
-
Enables api-crypto-gcm of wasefire-applet-api-macro
- api-crypto-hash full-api? = internal-api-crypto-hash
-
Enables api-crypto-hash of wasefire-applet-api-macro
- api-crypto-hkdf full-api? = internal-api-crypto-hash
-
Enables api-crypto-hkdf of wasefire-applet-api-macro
- api-crypto-hmac full-api? = internal-api-crypto-hash
-
Enables api-crypto-hmac of wasefire-applet-api-macro
- api-gpio full-api?
-
Enables api-gpio of wasefire-applet-api-macro
- api-led full-api?
-
Enables api-led of wasefire-applet-api-macro
- api-platform full-api?
-
Enables api-platform of wasefire-applet-api-macro
- api-platform-protocol full-api?
-
Enables api-platform-protocol of wasefire-applet-api-macro
- api-platform-update full-api?
-
Enables api-platform-update of wasefire-applet-api-macro
- api-radio-ble full-api?
-
Enables api-radio-ble of wasefire-applet-api-macro
- api-rng full-api?
-
Enables api-rng of wasefire-applet-api-macro
- api-store full-api?
-
Enables api-store of wasefire-applet-api-macro
- api-store-fragment full-api?
-
Enables api-store-fragment of wasefire-applet-api-macro
- api-timer full-api?
-
Enables api-timer of wasefire-applet-api-macro
- api-uart full-api?
-
Enables api-uart of wasefire-applet-api-macro
- api-usb-serial full-api?
-
Enables api-usb-serial of wasefire-applet-api-macro
- full-api = api-button, api-crypto-ccm, api-crypto-ec, api-crypto-gcm, api-crypto-hash, api-crypto-hkdf, api-crypto-hmac, api-gpio, api-led, api-platform, api-platform-protocol, api-platform-update, api-radio-ble, api-rng, api-store, api-store-fragment, api-timer, api-uart, api-usb-serial
-
Enables all API features (unstable for host).
- native
-
Implements the API with weak symbols to permit custom definitions (only relevant in wasm mode).
The applet API functions, like
env_dp
, have a default implementation calling into anenv_dispatch
function, which in turn has a default implementation of panicking. Theenv_dispatch
function takes 3 arguments: the link name, a pointer to the parameters, and a pointer to the results.Enables wasefire-logger
- internal-api-crypto-hash api-crypto-hash? api-crypto-hkdf? api-crypto-hmac?
-
Internal features.