Crates.io | aleo-std-time |
lib.rs | aleo-std-time |
version | 0.1.2 |
source | src |
created_at | 2021-11-13 08:32:15.305268 |
updated_at | 2023-05-22 16:46:25.910718 |
description | A convenience attribute to time functions |
homepage | |
repository | |
max_upload_size | |
id | 481320 |
size | 43,365 |
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
}