[examples] performance - port to rust 2018

This commit is contained in:
LachezarLechev 2018-12-12 08:14:08 +01:00
parent 55f199ee77
commit a211e4af9c
2 changed files with 2 additions and 4 deletions

View File

@ -2,6 +2,7 @@
name = "performance"
version = "0.1.0"
authors = ["The wasm-bindgen Developers"]
edition = "2018"
[lib]
crate-type = ["cdylib"]

View File

@ -1,7 +1,4 @@
extern crate humantime;
extern crate wasm_bindgen;
extern crate web_sys;
use humantime;
use std::time::{Duration, SystemTime, UNIX_EPOCH};
use wasm_bindgen::prelude::*;