blob: fcd0adff1abac6277d28464487e3b548471bfa42 [file] [log] [blame]
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +02001# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
David LeGare5c021f62022-03-02 16:21:12 +00006# to registry (e.g., crates.io) dependencies.
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +02007#
David LeGare5c021f62022-03-02 16:21:12 +00008# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020011
12[package]
13edition = "2018"
14name = "instant"
David LeGare5c021f62022-03-02 16:21:12 +000015version = "0.1.12"
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020016authors = ["sebcrozet <developer@crozet.re>"]
17description = "A partial replacement for std::time::Instant that works on WASM too."
18readme = "README.md"
19keywords = ["time", "wasm"]
20license = "BSD-3-Clause"
21repository = "https://github.com/sebcrozet/instant"
22[dependencies.cfg-if]
Chih-Hung Hsiehb7247eb2020-10-26 13:16:40 -070023version = "1.0"
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020024[dev-dependencies.wasm-bindgen-test]
Chih-Hung Hsiehb7247eb2020-10-26 13:16:40 -070025version = "0.3"
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020026
27[features]
Haibo Huangebac4612020-11-19 17:08:55 -080028inaccurate = []
David LeGare5c021f62022-03-02 16:21:12 +000029now = []
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020030wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"]
31[target.asmjs-unknown-emscripten.dependencies.js-sys]
32version = "0.3"
33optional = true
34
35[target.asmjs-unknown-emscripten.dependencies.stdweb]
36version = "0.4"
37optional = true
38
39[target.asmjs-unknown-emscripten.dependencies.wasm-bindgen_rs]
40version = "0.2"
41optional = true
42package = "wasm-bindgen"
43
44[target.asmjs-unknown-emscripten.dependencies.web-sys]
45version = "0.3"
46features = ["Window", "Performance", "PerformanceTiming"]
47optional = true
Jeff Vander Stoep6b6c8e62020-10-21 20:26:22 +020048[target.wasm32-unknown-emscripten.dependencies.js-sys]
49version = "0.3"
50optional = true
51
52[target.wasm32-unknown-emscripten.dependencies.stdweb]
53version = "0.4"
54optional = true
55
56[target.wasm32-unknown-emscripten.dependencies.wasm-bindgen_rs]
57version = "0.2"
58optional = true
59package = "wasm-bindgen"
60
61[target.wasm32-unknown-emscripten.dependencies.web-sys]
62version = "0.3"
63features = ["Window", "Performance", "PerformanceTiming"]
64optional = true
65[target.wasm32-unknown-unknown.dependencies.js-sys]
66version = "0.3"
67optional = true
68
69[target.wasm32-unknown-unknown.dependencies.stdweb]
70version = "0.4"
71optional = true
72
73[target.wasm32-unknown-unknown.dependencies.wasm-bindgen_rs]
74version = "0.2"
75optional = true
76package = "wasm-bindgen"
77
78[target.wasm32-unknown-unknown.dependencies.web-sys]
79version = "0.3"
80features = ["Window", "Performance", "PerformanceTiming"]
81optional = true