[build-dependencies.autocfg]
version = "1"
[dependencies.arbitrary]
default-features = false
optional = true
version = "1"
[dependencies.castaway]
default-features = false
optional = true
version = "0.2"
[dependencies.const_fn]
version = "0.4.9"
[dependencies.proptest]
default-features = false
features = ["std"]
optional = true
version = "1"
[dependencies.quickcheck]
default-features = false
optional = true
version = "1"
[dependencies.rkyv]
optional = true
version = "0.7.27"
[dependencies.serde]
default-features = false
optional = true
version = "1"
[dev-dependencies.quickcheck_macros]
default-features = false
version = "1"
[dev-dependencies.rand]
default-features = false
version = "0.8.3"
[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0.47"
[features]
default = ["std", "fallback"]
fallback = []
std = []
[package]
authors = ["René Kijewski <crates.io@k6i.de>"]
categories = ["date-and-time", "no-std"]
description = "Get the current unixtime in a no-std context"
edition = "2018"
keywords = ["time", "unixtime", "utc", "no_std", "cross-platform"]
license = "Apache-2.0"
name = "utcnow"
readme = "README.md"
repository = "https://github.com/Kijewski/utcnow"
version = "0.2.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.js-sys]
version = "0.3.0"
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen]
version = "0.2.0"
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test]
version = "0.3.13"
[target."cfg(any(target_os = \"android\", target_os = \"darwin\", target_os = \"emscripten\", target_os = \"fuchsia\", target_os = \"haiku\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"solaris\"))".dependencies.errno]
default-features = false
version = "0.3.0"
[target."cfg(any(target_os = \"android\", target_os = \"darwin\", target_os = \"emscripten\", target_os = \"fuchsia\", target_os = \"haiku\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"solaris\"))".dependencies.libc]
default-features = false
version = "0.2.126"
[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"ios\", target_os = \"linux\", target_os = \"macos\", target_os = \"openbsd\", target_os = \"redox\"))".dependencies.rustix]
features = ["time"]
version = "0.37.0"
[target."cfg(target_os = \"wasi\")".dependencies.wasi]
default-features = false
version = "0.11.0"
[target."cfg(target_os = \"windows\")".dependencies.winapi]
default-features = false
features = ["sysinfoapi"]
version = "0.3.9"