Aliases support
This commit is contained in:
1 parent
24818c99e5
commit
4633ac71f9
2 files changed
+11
-12
No files matched your search
+5
-1
@@ -1,10 +1,14 @@
|
||||
use remote_marker::push;
|
||||
use std::time::{Instant, SystemTime};
|
||||
use remote_marker::{alias, push, set};
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let time = Instant::now();
|
||||
alias("stack", SystemTime::UNIX_EPOCH.elapsed().unwrap().as_secs().to_string().as_str());
|
||||
push("stack", 5);
|
||||
push("stack", 6);
|
||||
push("stack", 8);
|
||||
push("stack", 9);
|
||||
push("stack", 1000);
|
||||
set("val", time.elapsed());
|
||||
}
|
||||
Reference in new issue
Block a user