-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathCargo.toml
42 lines (35 loc) · 1.54 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "instant"
version = "0.1.13"
authors = ["sebcrozet <[email protected]>"]
description = "Unmaintained, consider using web-time instead - A partial replacement for std::time::Instant that works on WASM to."
repository = "https://github.com/sebcrozet/instant"
readme = "README.md"
license = "BSD-3-Clause"
keywords = [ "time", "wasm" ]
edition = "2018"
[badges]
maintenance = { status = "looking-for-maintainer" }
[features]
wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"]
inaccurate = []
now = []
[dependencies]
cfg-if = "1.0"
[target.wasm32-unknown-unknown.dependencies]
js-sys = { version = "0.3", optional = true }
stdweb = { version = "0.4", optional = true }
wasm-bindgen_rs = { package = "wasm-bindgen", version = "0.2", optional = true }
web-sys = { version = "0.3", optional = true, features = ['Window', 'Performance', 'PerformanceTiming'] }
[target.wasm32-unknown-emscripten.dependencies]
js-sys = { version = "0.3", optional = true }
stdweb = { version = "0.4", optional = true }
wasm-bindgen_rs = { package = "wasm-bindgen", version = "0.2", optional = true }
web-sys = { version = "0.3", optional = true, features = ['Window', 'Performance', 'PerformanceTiming'] }
[target.asmjs-unknown-emscripten.dependencies]
js-sys = { version = "0.3", optional = true }
stdweb = { version = "0.4", optional = true }
wasm-bindgen_rs = { package = "wasm-bindgen", version = "0.2", optional = true }
web-sys = { version = "0.3", optional = true, features = ['Window', 'Performance', 'PerformanceTiming'] }
[dev-dependencies]
wasm-bindgen-test = "0.3"