Cargo Features

Instant has no features set by default.

[dependencies]
instant = { version = "0.1.13", features = ["wasm-bindgen", "inaccurate", "now", "stdweb"] }
wasm-bindgen = js-sys, wasm-bindgen_rs, web-sys

Affects wasm::now

inaccurate
now

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

stdweb wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten implicit feature

Enables stdweb

stdweb:

A standard library for the client-side Web

Affects wasm::now

js-sys wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten wasm-bindgen?
wasm-bindgen_rs wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten wasm-bindgen?

Enables wasm-bindgen

web-sys wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten wasm-bindgen?