#android #mobile #ios #macro

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

#636 in Operating systems

Download history 13/week @ 2024-11-13 18/week @ 2024-11-20 18/week @ 2024-11-27 27/week @ 2024-12-04 96/week @ 2024-12-11 47/week @ 2024-12-18 12/week @ 2024-12-25 36/week @ 2025-01-01 37/week @ 2025-01-08 75/week @ 2025-01-15 42/week @ 2025-01-22 48/week @ 2025-01-29 73/week @ 2025-02-05 71/week @ 2025-02-12 39/week @ 2025-02-19 59/week @ 2025-02-26

253 downloads per month

Apache-2.0/MIT

8KB

mobile-entry-point

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

~1.5MB
~39K SLoC