https://github.com/brainiumllc/mobile-entry-point
Generate app entry-point boilerplate for iOS & Android!
https://github.com/brainiumllc/mobile-entry-point
Last synced: about 1 year ago
JSON representation
Generate app entry-point boilerplate for iOS & Android!
- Host: GitHub
- URL: https://github.com/brainiumllc/mobile-entry-point
- Owner: BrainiumLLC
- License: apache-2.0
- Created: 2020-08-07T21:18:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T23:58:12.000Z (over 3 years ago)
- Last Synced: 2025-04-20T07:42:29.727Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `mobile-entry-point`
[](https://crates.io/crates/mobile-entry-point)
[](https://docs.rs/mobile-entry-point)
[](https://github.com/BrainiumLLC/mobile-entry-point/actions)
This attribute macro wraps a function to make it the entry-point for an iOS or Android mobile app. Use [`cargo-mobile`](https://github.com/BrainiumLLC/cargo-mobile) to generate matching project files!
```rust
use mobile_entry_point::mobile_entry_point;
#[mobile_entry_point]
fn main() {
println!("Hello world!");
}
```