[package]
edition = "2024"
name = "system-uptime"
version = "0.2.0"
authors = ["Sergey Reshetnikov <shaman@simmirra.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A cross-platform Rust library for retrieving operating system uptime.
"""
homepage = "https://github.com/greyshaman/system-uptime"
readme = "README.md"
keywords = [
"uptime",
"ticks",
]
license = "MIT"
repository = "https://github.com/greyshaman/system-uptime"
[lib]
name = "system_uptime"
path = "src/lib.rs"
[target.'cfg(any(unix, target_os = "windows"))'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "redox")'.dependencies.libredox]
version = "0.1"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"sysinfoapi",
"errhandlingapi",
]