82 lines
2.2 KiB
TOML
82 lines
2.2 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "instant"
|
|
version = "0.1.12"
|
|
authors = ["sebcrozet <developer@crozet.re>"]
|
|
description = "A partial replacement for std::time::Instant that works on WASM too."
|
|
readme = "README.md"
|
|
keywords = ["time", "wasm"]
|
|
license = "BSD-3-Clause"
|
|
repository = "https://github.com/sebcrozet/instant"
|
|
[dependencies.cfg-if]
|
|
version = "1.0"
|
|
[dev-dependencies.wasm-bindgen-test]
|
|
version = "0.3"
|
|
|
|
[features]
|
|
inaccurate = []
|
|
now = []
|
|
wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"]
|
|
[target.asmjs-unknown-emscripten.dependencies.js-sys]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[target.asmjs-unknown-emscripten.dependencies.stdweb]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[target.asmjs-unknown-emscripten.dependencies.wasm-bindgen_rs]
|
|
version = "0.2"
|
|
optional = true
|
|
package = "wasm-bindgen"
|
|
|
|
[target.asmjs-unknown-emscripten.dependencies.web-sys]
|
|
version = "0.3"
|
|
features = ["Window", "Performance", "PerformanceTiming"]
|
|
optional = true
|
|
[target.wasm32-unknown-emscripten.dependencies.js-sys]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[target.wasm32-unknown-emscripten.dependencies.stdweb]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[target.wasm32-unknown-emscripten.dependencies.wasm-bindgen_rs]
|
|
version = "0.2"
|
|
optional = true
|
|
package = "wasm-bindgen"
|
|
|
|
[target.wasm32-unknown-emscripten.dependencies.web-sys]
|
|
version = "0.3"
|
|
features = ["Window", "Performance", "PerformanceTiming"]
|
|
optional = true
|
|
[target.wasm32-unknown-unknown.dependencies.js-sys]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[target.wasm32-unknown-unknown.dependencies.stdweb]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[target.wasm32-unknown-unknown.dependencies.wasm-bindgen_rs]
|
|
version = "0.2"
|
|
optional = true
|
|
package = "wasm-bindgen"
|
|
|
|
[target.wasm32-unknown-unknown.dependencies.web-sys]
|
|
version = "0.3"
|
|
features = ["Window", "Performance", "PerformanceTiming"]
|
|
optional = true
|