#ability #macro #applications #binding #harmony #activities #generate

macro openharmony-ability-derive

Binding Rust application macro on Harmony with Ability

3 releases

new 0.0.3 Feb 20, 2025
0.0.2 Feb 12, 2025
0.0.1 Jan 24, 2025

#1834 in Procedural macros

Download history 137/week @ 2025-01-21 6/week @ 2025-01-28 49/week @ 2025-02-04 142/week @ 2025-02-11

334 downloads per month

MIT/Apache

4KB

activity-macro

Introduce

activity-macro is a macro crate for the openharmony-activity project. It provides a set of macros for generating code related to activities in the openharmony-activity project.

Example

#[main]
pub fn main() {
    let activity = Activity::new();
    activity.run();
}

Dependencies

~195–630KB
~15K SLoC