Crates.io | appy |
lib.rs | appy |
version | 0.1.6 |
source | src |
created_at | 2023-04-15 05:03:48.661451 |
updated_at | 2023-05-08 06:53:33.142995 |
description | Declarative UI framework with native rendering |
homepage | https://github.com/limikael/appy |
repository | https://github.com/limikael/appy |
max_upload_size | |
id | 839794 |
size | 778,620 |
Declarative cross-platform UI framework in Rust for native applications. More info in this article.
Should be as easy as cloning the code and running one of these:
cargo run --example hello
cargo run --example calculator
...
Check the examples folder for more examples.
First install and set up cargo-sdl-apk.
Then, running the examples on android should be as easy as locally, almost:
cargo sdl-apk run --example hello
Appy is, by default, using SDL to render its graphics. It also supports
Glutin, which can be turned on as a feature. Check platform-examples/test-glutin
for a project that is set up to use it. Running locally is done in the same way, i.e. with cargo run
, but if you want to use Glutin on Android you need to use cargo-apk instead of cargo-sdl-apk.
If you want live reload during development this can be done with cargo-watch. Install it and run:
cargo watch -x run