Cargo Features
[dependencies]
wasefire = { version = "0.7.0", default-features = false, features = ["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", "rust-crypto", "native", "wasm", "test", "unsafe-assume-single-core", "internal-api-crypto", "internal-api-radio", "internal-api-usb", "internal-rpc", "internal-api-crypto-hash", "internal-api-store", "internal-serial", "internal-api-platform"] }
- default = full-api
-
The
full-api
feature is set by default wheneverwasefire
is added without
somewhere in the dependency tree.default-features = false -
API features.
Enables api-button of wasefire-applet-api
Affects
wasefire::button
… - api-crypto-ccm full-api = internal-api-crypto
-
Enables api-crypto-ccm of wasefire-applet-api
Affects
crypto::ccm
… - api-crypto-ec full-api = internal-api-crypto
-
Enables crypto-common, sealed, and typenum, api-crypto-ec of wasefire-applet-api
Affects
crypto::ec
… - api-crypto-gcm full-api = internal-api-crypto
-
Enables api-crypto-gcm of wasefire-applet-api
Affects
crypto::gcm
… - api-crypto-hash full-api = internal-api-crypto-hash
-
Enables api-crypto-hash of wasefire-applet-api
Affects
hash::Digest
,hash::sha256
,hash::is_supported
… - api-crypto-hkdf full-api = api-crypto-hmac
-
Enables api-crypto-hkdf of wasefire-applet-api
Affects
hash::hkdf
,hash::hkdf_extract
,hash::hkdf_expand
,hash::is_hkdf_supported
… - api-crypto-hmac api-crypto-hkdf? full-api = internal-api-crypto-hash
-
Enables api-crypto-hmac of wasefire-applet-api
Affects
hash::Hmac
,hash::hmac_sha256
,hash::is_hmac_supported
… - api-gpio full-api
-
Enables api-gpio of wasefire-applet-api
Affects
wasefire::gpio
… - api-led full-api
-
Enables api-led of wasefire-applet-api
Affects
wasefire::led
… - api-platform full-api = internal-api-platform
-
Enables api-platform of wasefire-applet-api
Affects
platform::serial
,platform::version
,platform::reboot
… - api-platform-protocol full-api = internal-api-platform, internal-rpc
-
Enables api-platform-protocol of wasefire-applet-api
Affects
platform::protocol
… - api-platform-update full-api = internal-api-platform
-
Enables api-platform-update of wasefire-applet-api
Affects
platform::update
… - api-radio-ble full-api = internal-api-radio
-
Enables api-radio-ble of wasefire-applet-api
Affects
radio::ble
… - api-rng full-api
-
Enables api-rng of wasefire-applet-api
Affects
wasefire::rng
… - api-store full-api = internal-api-store
-
Enables api-store of wasefire-applet-api
Affects
store::insert
,store::remove
,store::find
,store::keys
,store::clear
… - api-store-fragment full-api = internal-api-store
-
Enables api-store-fragment of wasefire-applet-api
Affects
store::fragment
… - api-timer full-api
-
Enables api-timer of wasefire-applet-api
Affects
wasefire::timer
… - api-uart full-api = internal-serial
-
Enables api-uart of wasefire-applet-api
Affects
wasefire::uart
… - api-usb-serial full-api = internal-api-usb, internal-serial
-
Enables api-usb-serial of wasefire-applet-api
Affects
usb::serial
… - full-api default = 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.
- rust-crypto
-
Implements RustCrypto traits.
Enables aead, crypto-common, digest, typenum, and zeroize
- native
-
Selects the applet kind: wasm, native, or test. Exactly one must be enabled (done by the CLI).
Enables native of wasefire-applet-api
- wasm
-
Enables const-default and rlsf
- test
- unsafe-assume-single-core
-
Sets portable-atomic/unsafe-assume-single-core (for convenience).
Enables unsafe-assume-single-core of wasefire-sync
- internal-api-crypto api-crypto-ccm? api-crypto-ec? api-crypto-gcm? internal-api-crypto-hash?
-
Internal features.
Affects
wasefire::crypto
… - internal-api-radio api-radio-ble?
-
Affects
wasefire::radio
… - internal-api-usb api-usb-serial?
-
Affects
wasefire::usb
… - internal-rpc api-platform-protocol?
-
Enables sealed
Affects
wasefire::rpc
… - internal-api-crypto-hash api-crypto-hash? api-crypto-hmac? = internal-api-crypto
-
Affects
crypto::hash
… - internal-api-store api-store? api-store-fragment?
-
Affects
wasefire::store
… - internal-serial api-uart? api-usb-serial?
-
Enables sealed
Affects
wasefire::serial
… - internal-api-platform api-platform? api-platform-protocol? api-platform-update?
-
Affects
wasefire::platform
…