aleo-std-time

Crates.ioaleo-std-time
lib.rsaleo-std-time
version0.1.2
sourcesrc
created_at2021-11-13 08:32:15.305268
updated_at2023-05-22 16:46:25.910718
descriptionA convenience attribute to time functions
homepage
repository
max_upload_size
id481320
size43,365
Howard Wu (howardwu)

documentation

README

aleo-std-time

Crates.io Authors License

This crate uses aleo-std-time to implement a convenient attribute to time functions.

use aleo_std::prelude::*;

#[time]
fn foo() -> u32 {
    // Insert expensive operation
    1 + 1
}
Commit count: 0

cargo fmt