Flipper Zero Application Manifest Generator

Builds FAM from one of two possible sources: - Metadata in the crate manifest (usually Cargo.toml) - Flipper.toml near by crate manifest

Uses cargo metadata.

Usage

Cargo.toml: ```toml [package] build = "build.rs"

...

[package.metadata.fam] main = "init" name = "Hello, Flipper" # optional, default is crate name

id = "hello-flipper" # optional, default is crate name

type = "FlipperAppType.EXTERNAL" # optional, default is FlipperAppType.EXTERNAL

icon-file = "icon_10px.png" # optional, path relative to the root of crate

category = "Misc" # optional, default Misc

[build-dependencies.fam-build] package = "flipper0-fam-build" version = "*" ```

build.rs: ```rust fn main() { let fam = fambuild::manifest().unwrap(); let path = fam.savetooutdir().unwrap(); // or... fam.save_to(some other path)

println!("Exported FAM path: {}", path.display());

} ```


Usage Example.

Official format documentation.