# 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 = "2021" name = "nu-system" version = "0.100.0" authors = [ "The Nushell Project Developers", "procs creators", ] build = 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.13" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.sysinfo] version = "0.32" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.procfs] version = "0.16.0" [target.'cfg(target_family = "unix")'.dependencies.nix] version = "0.29" features = [ "fs", "term", "process", "signal", ] default-features = false [target.'cfg(target_os = "macos")'.dependencies.libproc] version = "0.14" [target.'cfg(target_os = "macos")'.dependencies.mach2] version = "0.4" [target.'cfg(target_os = "windows")'.dependencies.chrono] version = "0.4.34" features = ["clock"] default-features = false [target.'cfg(target_os = "windows")'.dependencies.ntapi] version = "0.4" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.56" 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] unchecked_duration_subtraction = "warn"