vmaware 0.1.0

A cross-platform Rust library for virtual machine detection — port of VMAware (C++)
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 = "2021"
rust-version = "1.63"
name = "vmaware"
version = "0.1.0"
authors = ["b3nguang"]
build = false
exclude = ["target/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross-platform Rust library for virtual machine detection — port of VMAware (C++)"
homepage = "https://github.com/b3nguang/VMAware-rs"
documentation = "https://docs.rs/vmaware"
readme = "README.md"
keywords = [
    "vm",
    "detection",
    "hypervisor",
    "virtual-machine",
    "security",
]
categories = [
    "os",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/b3nguang/VMAware-rs"

[features]
default = []
json = [
    "serde",
    "serde_json",
]

[lib]
name = "vmaware"
path = "src/lib.rs"

[[bin]]
name = "vmaware-cli"
path = "src/bin/cli.rs"

[dependencies.once_cell]
version = "1.19"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[target.'cfg(target_arch = "x86")'.dependencies.raw-cpuid]
version = "11"

[target.'cfg(target_arch = "x86_64")'.dependencies.raw-cpuid]
version = "11"

[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_System_Registry",
    "Win32_System_SystemInformation",
    "Win32_System_Threading",
    "Win32_System_Diagnostics_Debug",
    "Win32_System_Power",
    "Win32_System_LibraryLoader",
    "Win32_Storage_FileSystem",
    "Win32_Security",
    "Win32_System_IO",
    "Win32_Devices_DeviceAndDriverInstallation",
    "Win32_Media_Audio",
    "Win32_Graphics_Gdi",
    "Win32_System_Ioctl",
    "Win32_NetworkManagement_IpHelper",
]

[target."cfg(windows)".dependencies.winreg]
version = "0.52"