We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f1e37 commit 4b79b61Copy full SHA for 4b79b61
lib/Cargo.toml
@@ -22,10 +22,8 @@ serde_json = "1.0.93"
22
strum = { version = "0.26.3", features = ["derive"] }
23
as-any = "0.3.0"
24
rand = "0.8.5"
25
-instant = "0.1.12"
+web-time = "1.1.0"
26
stringreader = "0.1.1"
27
28
[features]
29
stream-json-parser = []
30
-stdweb = ["instant/stdweb"]
31
-wasm-bindgen = ["instant/wasm-bindgen"]
lib/src/story/progress.rs
@@ -95,7 +95,7 @@ impl Story {
95
96
// Start timing (only when necessary)
97
let duration_stopwatch = match self.async_continue_active {
98
- true => Some(instant::Instant::now()),
+ true => Some(web_time::Instant::now()),
99
false => None,
100
};
101
0 commit comments