nu-system 0.112.2

Nushell system querying
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"
rust-version = "1.92.0"
name = "nu-system"
version = "0.112.2"
authors = [
    "The Nushell Project Developers",
    "procs creators",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nushell system querying"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-system"

[lib]
name = "nu_system"
path = "src/lib.rs"
bench = false

[[example]]
name = "sys_demo"
path = "examples/sys_demo.rs"

[dependencies.itertools]
version = "0.14"

[dependencies.libc]
version = "0.2.184"

[dependencies.log]
version = "0.4"

[dependencies.nu-utils]
version = "0.112.2"
default-features = false

[dependencies.sysinfo]
version = "0.38.4"

[dependencies.web-time]
version = "1.1.0"

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.procfs]
version = "0.18.0"

[target.'cfg(target_family = "unix")'.dependencies.nix]
version = "0.31.2"
features = [
    "fs",
    "term",
    "process",
    "signal",
]
default-features = false

[target.'cfg(target_family = "unix")'.dependencies.uucore]
version = "0.8.0"
features = ["mode"]

[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14.11"

[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.6"

[target.'cfg(target_os = "windows")'.dependencies.chrono]
version = "0.4.41"
features = ["clock"]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.ntapi]
version = "0.4"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Wdk_System_SystemServices",
    "Wdk_System_Threading",
    "Win32_Foundation",
    "Win32_Security",
    "Win32_System_Diagnostics_Debug",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_Kernel",
    "Win32_System_Memory",
    "Win32_System_ProcessStatus",
    "Win32_System_SystemInformation",
    "Win32_System_Threading",
    "Win32_UI_Shell",
]

[lints.clippy]
format_push_string = "warn"
needless_raw_strings = "warn"
result_large_err = "allow"
unchecked_time_subtraction = "warn"
unwrap_used = "deny"
used_underscore_binding = "warn"