system-uptime 0.2.0

A cross-platform Rust library for retrieving operating system uptime.
Documentation
# 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 = "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",
]