uniffi-rs-fullstack-examples/hello
WildCat 7cd4c3bd14 Fix android build script 2022-03-22 21:25:33 +08:00
..
misc/apple Add apple platform demo 2022-01-08 21:47:11 +08:00
platforms Fix 2022-03-22 20:32:09 +08:00
src Add semicolon of UDL back and improve tests 2022-01-24 14:21:04 +08:00
.gitignore Android example (#2) 2022-03-16 08:40:51 +08:00
Cargo.toml Android example (#2) 2022-03-16 08:40:51 +08:00
Makefile Fix android build script 2022-03-22 21:25:33 +08:00
README.md Move apple example of hello 2022-03-22 20:27:34 +08:00
build.rs Add initial defination of the hello package 2022-01-08 21:08:02 +08:00

README.md

Todo List Shared

A shared library for the todo list application, which can be used for Android, iOS and other platforms.

Prerequisites

Please refer to the root README.md.

Binary Size

iOS

  • Generate binaries, xcframework and Swift binding: make apple

With Rust binary: 503K

# ls -lh
total 536K
drwxr-xr-x 4 _installd _installd  128 Jan  9 09:52 Base.lproj/
-rwxr-xr-x 1 _installd _installd 503K Jan  9 09:52 HelloAppleDemoApp*
-rw-r--r-- 1 _installd _installd 1.5K Jan  9 09:52 Info.plist
drwxr-xr-x 2 _installd _installd   64 Jan  9 09:52 META-INF/
-rw-r--r-- 1 _installd _installd    8 Jan  9 09:52 PkgInfo
drwxr-xr-x 3 _installd _installd   96 Jan  9 09:52 _CodeSignature/
-rw-r--r-- 1 _installd _installd  21K Jan  9 09:52 embedded.mobileprovision

Without Rust binary: 147K

# ls -lh
total 180K
drwxr-xr-x 4 _installd _installd  128 Jan  9 09:57 Base.lproj/
-rwxr-xr-x 1 _installd _installd 147K Jan  9 09:57 HelloAppleDemoApp*
-rw-r--r-- 1 _installd _installd 1.5K Jan  9 09:57 Info.plist
drwxr-xr-x 2 _installd _installd   64 Jan  9 09:57 META-INF/
-rw-r--r-- 1 _installd _installd    8 Jan  9 09:57 PkgInfo
drwxr-xr-x 3 _installd _installd   96 Jan  9 09:57 _CodeSignature/
-rw-r--r-- 1 _installd _installd  21K Jan  9 09:52 embedded.mobileprovision