Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 1 | # 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 LeGare | 5c021f6 | 2022-03-02 16:21:12 +0000 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 7 | # |
David LeGare | 5c021f6 | 2022-03-02 16:21:12 +0000 | [diff] [blame] | 8 | # 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 Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
| 14 | name = "instant" |
David LeGare | 5c021f6 | 2022-03-02 16:21:12 +0000 | [diff] [blame] | 15 | version = "0.1.12" |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 16 | authors = ["sebcrozet <developer@crozet.re>"] |
| 17 | description = "A partial replacement for std::time::Instant that works on WASM too." |
| 18 | readme = "README.md" |
| 19 | keywords = ["time", "wasm"] |
| 20 | license = "BSD-3-Clause" |
| 21 | repository = "https://github.com/sebcrozet/instant" |
| 22 | [dependencies.cfg-if] |
Chih-Hung Hsieh | b7247eb | 2020-10-26 13:16:40 -0700 | [diff] [blame] | 23 | version = "1.0" |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 24 | [dev-dependencies.wasm-bindgen-test] |
Chih-Hung Hsieh | b7247eb | 2020-10-26 13:16:40 -0700 | [diff] [blame] | 25 | version = "0.3" |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 26 | |
| 27 | [features] |
Haibo Huang | ebac461 | 2020-11-19 17:08:55 -0800 | [diff] [blame] | 28 | inaccurate = [] |
David LeGare | 5c021f6 | 2022-03-02 16:21:12 +0000 | [diff] [blame] | 29 | now = [] |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 30 | wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"] |
| 31 | [target.asmjs-unknown-emscripten.dependencies.js-sys] |
| 32 | version = "0.3" |
| 33 | optional = true |
| 34 | |
| 35 | [target.asmjs-unknown-emscripten.dependencies.stdweb] |
| 36 | version = "0.4" |
| 37 | optional = true |
| 38 | |
| 39 | [target.asmjs-unknown-emscripten.dependencies.wasm-bindgen_rs] |
| 40 | version = "0.2" |
| 41 | optional = true |
| 42 | package = "wasm-bindgen" |
| 43 | |
| 44 | [target.asmjs-unknown-emscripten.dependencies.web-sys] |
| 45 | version = "0.3" |
| 46 | features = ["Window", "Performance", "PerformanceTiming"] |
| 47 | optional = true |
Jeff Vander Stoep | 6b6c8e6 | 2020-10-21 20:26:22 +0200 | [diff] [blame] | 48 | [target.wasm32-unknown-emscripten.dependencies.js-sys] |
| 49 | version = "0.3" |
| 50 | optional = true |
| 51 | |
| 52 | [target.wasm32-unknown-emscripten.dependencies.stdweb] |
| 53 | version = "0.4" |
| 54 | optional = true |
| 55 | |
| 56 | [target.wasm32-unknown-emscripten.dependencies.wasm-bindgen_rs] |
| 57 | version = "0.2" |
| 58 | optional = true |
| 59 | package = "wasm-bindgen" |
| 60 | |
| 61 | [target.wasm32-unknown-emscripten.dependencies.web-sys] |
| 62 | version = "0.3" |
| 63 | features = ["Window", "Performance", "PerformanceTiming"] |
| 64 | optional = true |
| 65 | [target.wasm32-unknown-unknown.dependencies.js-sys] |
| 66 | version = "0.3" |
| 67 | optional = true |
| 68 | |
| 69 | [target.wasm32-unknown-unknown.dependencies.stdweb] |
| 70 | version = "0.4" |
| 71 | optional = true |
| 72 | |
| 73 | [target.wasm32-unknown-unknown.dependencies.wasm-bindgen_rs] |
| 74 | version = "0.2" |
| 75 | optional = true |
| 76 | package = "wasm-bindgen" |
| 77 | |
| 78 | [target.wasm32-unknown-unknown.dependencies.web-sys] |
| 79 | version = "0.3" |
| 80 | features = ["Window", "Performance", "PerformanceTiming"] |
| 81 | optional = true |