Cargo Features

flipperzero has no features set by default.

[dependencies]
flipperzero = { version = "0.13.0", features = ["alloc", "embedded-hal", "embedded-hal-0", "document-features"] }
alloc

Core features

Enables features requiring an allocator.

This will require you to set the global allocator by importing the flipperzero_alloc:

extern crate alloc;
extern crate flipperzero_alloc;

Affects dialogs::alert, thread::Builder, thread::spawn, thread::current, thread::ThreadId, thread::Thread, thread::JoinHandle

Features from optional dependencies

embedded-hal implicit feature

Enables embedded-hal

Embedded-hal

Affects i2c::EmbeddedHalBus

embedded-hal-0 implicit feature

Enables embedded-hal ^0.2.7

embedded-hal:

A Hardware Abstraction Layer (HAL) for embedded systems

Affects i2c::EmbeddedHalBus

document-features implicit feature

Enables document-features

Docs