framework_lib 0.6.1

Library to control Framework Computer systems
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.81"
name = "framework_lib"
version = "0.6.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to control Framework Computer systems"
homepage = "https://github.com/FrameworkComputer/framework-system"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/FrameworkComputer/framework-system"

[features]
default = [
    "hidapi",
    "rusb",
]
hidapi = ["dep:hidapi"]
nvidia = ["dep:nvml-wrapper"]
readonly = []
rusb = ["dep:rusb"]
uefi = ["lazy_static/spin_no_std"]

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

[dependencies.dmidecode]
version = "1"
default-features = false

[dependencies.guid-create]
version = "0.5.0"
default-features = false

[dependencies.hidapi]
version = "2.6.3"
features = ["windows-native"]
optional = true

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4"
default-features = true

[dependencies.no-std-compat]
version = "0.4.1"
features = ["alloc"]

[dependencies.num]
version = "0.4"
default-features = false

[dependencies.num-derive]
version = "0.4"
default-features = false

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.regex]
version = "1.11.1"
default-features = false

[dependencies.rusb]
version = "0.9.4"
optional = true

[dependencies.sha2]
version = "0.10.8"
features = ["force-soft"]
default-features = false

[dependencies.spin]
version = "0.10"

[build-dependencies.built]
version = "0.8"
features = [
    "chrono",
    "git2",
]

[target.'cfg(target_os = "uefi")'.dependencies.plain]
version = "0.2.3"

[target.'cfg(target_os = "uefi")'.dependencies.uefi]
version = "0.36.1"
features = [
    "alloc",
    "global_allocator",
    "panic_handler",
    "logger",
]

[target.'cfg(target_os = "uefi")'.dependencies.uefi-raw]
version = "0.13"

[target."cfg(unix)".dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]

[target."cfg(unix)".dependencies.clap-num]
version = "1.2.0"

[target."cfg(unix)".dependencies.clap-verbosity-flag]
version = "3.0"

[target."cfg(unix)".dependencies.clap_complete]
version = "4.5"

[target."cfg(unix)".dependencies.env_logger]
version = "0.11"

[target."cfg(unix)".dependencies.libc]
version = "0.2.155"

[target."cfg(unix)".dependencies.nix]
version = "0.30"
features = [
    "ioctl",
    "user",
]

[target."cfg(unix)".dependencies.nvml-wrapper]
version = "0.11.0"
optional = true

[target."cfg(windows)".dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]

[target."cfg(windows)".dependencies.clap-num]
version = "1.2.0"

[target."cfg(windows)".dependencies.clap-verbosity-flag]
version = "3.0"

[target."cfg(windows)".dependencies.clap_complete]
version = "4.5"

[target."cfg(windows)".dependencies.env_logger]
version = "0.11"

[target."cfg(windows)".dependencies.nvml-wrapper]
version = "0.11.0"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.62.0"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_Security",
    "Win32_System_IO",
    "Win32_System_Ioctl",
    "Win32_System_SystemInformation",
    "Win32_System_SystemServices",
    "Win32_Devices_DeviceAndDriverInstallation",
    "Win32_Devices_HumanInterfaceDevice",
    "Win32_Devices_Properties",
    "Win32_Storage_EnhancedStorage",
    "Win32_System_Threading",
    "Win32_UI_Shell_PropertiesSystem",
]

[target."cfg(windows)".dependencies.windows-version]
version = "0.1.4"

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

[target."cfg(windows)".dependencies.wmi]
version = "0.18"