system-utils 0.1.4

Cross-platform utilities for interacting with operating system features such as audio control, power management, system information, hardware monitoring, and device enumeration.
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"
name = "system-utils"
version = "0.1.4"
authors = ["Bulat Sh. <synapdrake@ya.ru>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform utilities for interacting with operating system features such as audio control, power management, system information, hardware monitoring, and device enumeration."
readme = "README.md"
keywords = [
    "system",
    "utilities",
    "audio",
    "power",
    "metrics",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/fuderis/system-utils-rs"

[features]
audio = ["dep:regex"]
devices = [
    "dep:display-info",
    "dep:cpal",
    "dep:rusb",
    "dep:nokhwa",
]
full = [
    "info",
    "metrics",
    "devices",
    "monitor",
    "audio",
    "power",
    "theme",
]
full-metrics = [
    "monitor",
    "info",
    "metrics",
    "devices",
]
info = ["dep:sysinfo"]
metrics = [
    "dep:sysinfo",
    "dep:network-interface",
    "dep:wgpu",
    "dep:pollster",
    "dep:battery",
]
monitor = ["info"]
power = ["dep:chrono"]
theme = []

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

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

[dependencies.atoman]
version = "0.4.0"

[dependencies.battery]
version = "0.7.8"
optional = true

[dependencies.chrono]
version = "0.4.45"
features = ["serde"]
optional = true

[dependencies.cpal]
version = "0.18.1"
optional = true

[dependencies.display-info]
version = "0.5.9"
optional = true

[dependencies.macron]
version = "0.2.1"
features = [
    "derive",
    "path",
    "string",
]

[dependencies.network-interface]
version = "2.0.5"
optional = true

[dependencies.nokhwa]
version = "0.10.11"
features = ["input-v4l"]
optional = true

[dependencies.pollster]
version = "0.4.0"
optional = true

[dependencies.regex]
version = "1.12.4"
optional = true

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

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

[dependencies.sysinfo]
version = "0.38.4"
optional = true

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.wgpu]
version = "26.0"
optional = true