/mobile-entry-point

Generate app entry-point boilerplate for iOS & Android!

Primary LanguageRustApache License 2.0Apache-2.0

mobile-entry-point

crates.io badge docs.rs badge CI Status

This attribute macro wraps a function to make it the entry-point for an iOS or Android mobile app. Use cargo-mobile to generate matching project files!

use mobile_entry_point::mobile_entry_point;

#[mobile_entry_point]
fn main() {
    println!("Hello world!");
}