Cargo Features

wasefire-board-api has no features set by default.

[dependencies]
wasefire-board-api = { version = "0.8.0", features = ["std", "defmt", "log", "api-button", "api-crypto-aes128-ccm", "api-crypto-aes256-gcm", "api-crypto-hmac-sha256", "api-crypto-hmac-sha384", "api-crypto-p256", "api-crypto-p384", "api-crypto-sha256", "api-crypto-sha384", "api-gpio", "api-led", "api-radio-ble", "api-rng", "api-storage", "api-timer", "api-uart", "api-usb-serial", "full-api", "software-crypto-aes128-ccm", "software-crypto-aes256-gcm", "software-crypto-hmac-sha256", "software-crypto-hmac-sha384", "software-crypto-p256", "software-crypto-p384", "software-crypto-sha256", "software-crypto-sha384", "internal-api-crypto", "internal-software-crypto", "internal-api-radio", "internal-api-usb", "internal-api-crypto-aead", "internal-api-crypto-ecc", "internal-api-crypto-hash", "internal-api-crypto-hmac", "internal-software-crypto-aead", "internal-software-crypto-ecc", "internal-software-crypto-hmac"] }
std

Enables std of optional wasefire-store

defmt

Logging features (enable at most one).

Enables defmt, defmt of wasefire-error and wasefire-logger

log

Enables log of wasefire-logger

api-button full-api?

API features. DO NOT enable those features if you also depend on the scheduler. Instead, enable the board-api features of the scheduler.

Affects wasefire-board-api::button, wasefire-board-api::Button

api-crypto-aes128-ccm full-api? software-crypto-aes128-ccm? = internal-api-crypto-aead

Affects crypto::Aes128Ccm

api-crypto-aes256-gcm full-api? software-crypto-aes256-gcm? = internal-api-crypto-aead

Affects crypto::Aes256Gcm

api-crypto-hmac-sha256 full-api? software-crypto-hmac-sha256? = internal-api-crypto-hmac

Affects crypto::HmacSha256

api-crypto-hmac-sha384 full-api? software-crypto-hmac-sha384? = internal-api-crypto-hmac

Affects crypto::HmacSha384

api-crypto-p256 full-api? software-crypto-p256? = internal-api-crypto-ecc

Affects crypto::P256

api-crypto-p384 full-api? software-crypto-p384? = internal-api-crypto-ecc

Affects crypto::P384

api-crypto-sha256 full-api? software-crypto-sha256? = internal-api-crypto-hash

Affects crypto::Sha256

api-crypto-sha384 full-api? software-crypto-sha384? = internal-api-crypto-hash

Affects crypto::Sha384

api-gpio full-api?

Enables derive of bytemuck

bytemuck:

In v2 we'll fix these names to be more "normal".

Enable deriving the various bytemuck traits.

Affects wasefire-board-api::gpio, wasefire-board-api::Gpio

api-led full-api?

Affects wasefire-board-api::led, wasefire-board-api::Led

api-radio-ble full-api? = internal-api-radio

Enables api-radio-ble of wasefire-applet-api

Affects radio::ble, radio::Ble

api-rng full-api?

Affects wasefire-board-api::rng, wasefire-board-api::Rng

api-storage full-api?

Enables wasefire-store

Affects wasefire-board-api::Storage

api-timer full-api?

Affects wasefire-board-api::timer, wasefire-board-api::Timer

api-uart full-api?

Affects wasefire-board-api::uart, wasefire-board-api::Uart

api-usb-serial full-api? = internal-api-usb

Enables usb-device and usbd-serial

Affects usb::serial, usb::Serial

full-api = api-button, api-crypto-aes128-ccm, api-crypto-aes256-gcm, api-crypto-hmac-sha256, api-crypto-hmac-sha384, api-crypto-p256, api-crypto-p384, api-crypto-sha256, api-crypto-sha384, api-gpio, api-led, api-radio-ble, api-rng, api-storage, api-timer, api-uart, api-usb-serial

Enables all API features (unstable).

software-crypto-aes128-ccm internal-software-crypto? = api-crypto-aes128-ccm, internal-software-crypto-aead

Software crypto features. DO NOT enable those features if you also depend on the scheduler. Instead, use the software-crypto features of the scheduler.

Enables aes and ccm

Affects crypto::SoftwareAes128Ccm

software-crypto-aes256-gcm internal-software-crypto? = api-crypto-aes256-gcm, internal-software-crypto-aead

Enables aes of aes-gcm

Affects crypto::SoftwareAes256Gcm

software-crypto-hmac-sha256 internal-software-crypto? = api-crypto-hmac-sha256, internal-software-crypto-hmac

Affects crypto::SoftwareHmacSha256

software-crypto-hmac-sha384 internal-software-crypto? = api-crypto-hmac-sha384, internal-software-crypto-hmac

Affects crypto::SoftwareHmacSha384

software-crypto-p256 internal-software-crypto? = api-crypto-p256, internal-software-crypto-ecc

Enables arithmetic and ecdsa of p256

Affects crypto::SoftwareP256

software-crypto-p384 internal-software-crypto? = api-crypto-p384, internal-software-crypto-ecc

Enables arithmetic and ecdsa of p384

Affects crypto::SoftwareP384

software-crypto-sha256 internal-software-crypto? = api-crypto-sha256

Enables sha2

Affects crypto::SoftwareSha256

software-crypto-sha384 internal-software-crypto? = api-crypto-sha384

Enables sha2

Affects crypto::SoftwareSha384

internal-api-crypto internal-api-crypto-aead? internal-api-crypto-ecc? internal-api-crypto-hash? internal-api-crypto-hmac?

Internal features.

Affects wasefire-board-api::crypto, wasefire-board-api::Crypto

internal-software-crypto = software-crypto-aes128-ccm, software-crypto-aes256-gcm, software-crypto-hmac-sha256, software-crypto-hmac-sha384, software-crypto-p256, software-crypto-p384, software-crypto-sha256, software-crypto-sha384
internal-api-radio api-radio-ble?

Affects wasefire-board-api::radio, wasefire-board-api::Radio

internal-api-usb api-usb-serial?

Affects wasefire-board-api::usb, wasefire-board-api::Usb

internal-api-crypto-aead api-crypto-aes128-ccm? api-crypto-aes256-gcm? = internal-api-crypto

Enables crypto-common and typenum

Affects crypto::aead

internal-api-crypto-ecc api-crypto-p256? api-crypto-p384? = internal-api-crypto

Enables crypto-common and typenum

Affects crypto::ecc

internal-api-crypto-hash api-crypto-sha256? api-crypto-sha384? = internal-api-crypto

Enables crypto-common, digest, and typenum

Affects crypto::Hash, crypto::HashApi, crypto::WithError, crypto::NoError

internal-api-crypto-hmac api-crypto-hmac-sha256? api-crypto-hmac-sha384? = internal-api-crypto

Enables crypto-common, typenum and mac of digest

digest:

Enable MAC traits

Affects crypto::Hmac, crypto::HmacApi, crypto::WithError, crypto::NoError

internal-software-crypto-aead software-crypto-aes128-ccm? software-crypto-aes256-gcm?

Enables aead

internal-software-crypto-ecc software-crypto-p256? software-crypto-p384?

Enables signature, arithmetic, signing and verifying of ecdsa, arithmetic and sec1 of elliptic-curve

internal-software-crypto-hmac software-crypto-hmac-sha256? software-crypto-hmac-sha384?

Enables hmac

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytemuck api-gpio?
wasefire-applet-api api-radio-ble?