#macro #mobile #ios #android

macro mobile-entry-point

Generate app entry-point boilerplate for iOS & Android!

2 releases

0.1.1 Nov 6, 2020
0.1.0 Nov 6, 2020

#29 in #mobile

Download history 8/week @ 2021-10-08 6/week @ 2021-10-15 10/week @ 2021-10-22 9/week @ 2021-10-29 9/week @ 2021-11-05 5/week @ 2021-11-12 10/week @ 2021-11-19 14/week @ 2021-11-26 17/week @ 2021-12-03 164/week @ 2021-12-10 17/week @ 2021-12-17 10/week @ 2021-12-24 13/week @ 2021-12-31 40/week @ 2022-01-07 22/week @ 2022-01-14 62/week @ 2022-01-21

139 downloads per month

Apache-2.0/MIT

8KB

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!");
}

Dependencies

~280–700KB
~17K SLoC