blob: 1954d2b91e6ce803b90a3ee9dc22d97e9ff6fac4 [file] [log] [blame]
# 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 = "2018"
rust-version = "1.63"
name = "sysinfo"
version = "0.29.11"
authors = ["Guillaume Gomez <guillaume1.gomez@gmail.com>"]
exclude = ["/test-unknown"]
description = "Library to get system information such as processes, CPUs, disks, components and networks"
readme = "README.md"
categories = [
"filesystem",
"os",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/GuillaumeGomez/sysinfo"
[package.metadata.docs.rs]
cargo-args = ["-Zbuild-std"]
default-target = "x86_64-unknown-linux-gnu"
features = ["serde"]
rustdoc-args = ["--generate-link-to-definition"]
targets = [
"i686-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"i686-pc-windows-msvc",
"x86_64-unknown-freebsd",
]
[lib]
name = "sysinfo"
[dependencies.cfg-if]
version = "1.0"
[dependencies.rayon]
version = "^1.5.1"
optional = true
[dependencies.serde]
version = "^1.0.152"
optional = true
[dev-dependencies.serde_json]
version = "1.0"
[features]
apple-app-store = ["apple-sandbox"]
apple-sandbox = []
c-interface = []
debug = ["libc/extra_traits"]
default = ["multithread"]
multithread = ["rayon"]
unknown-ci = []
[target."cfg(all(target_os = \"linux\", not(target_os = \"android\")))".dev-dependencies.tempfile]
version = "3.2"
[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation-sys]
version = "0.8"
[target."cfg(any(windows, target_os = \"linux\", target_os = \"android\"))".dependencies.once_cell]
version = "1.0"
[target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc]
version = "^0.2.144"
[target."cfg(windows)".dependencies.ntapi]
version = "0.4"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"errhandlingapi",
"fileapi",
"handleapi",
"heapapi",
"ifdef",
"ioapiset",
"minwindef",
"pdh",
"psapi",
"synchapi",
"sysinfoapi",
"winbase",
"winerror",
"winioctl",
"winnt",
"oleauto",
"wbemcli",
"rpcdce",
"combaseapi",
"objidl",
"powerbase",
"netioapi",
"lmcons",
"lmaccess",
"lmapibuf",
"memoryapi",
"ntlsa",
"securitybaseapi",
"shellapi",
"std",
"iphlpapi",
"winsock2",
"sddl",
]