arora-module 2.1.0

Write an Arora module in Rust: the declaration macros and the traits they implement.
1
2
3
4
5
6
7
// A contract function takes `&mut self`.
#[arora_module::contract]
pub trait Speak {
    #[export(id = "5e1f0000-0000-4000-8000-000000000001")] fn say(&self);
}

fn main() {}