ferrix-lib 0.5.0

A library for obtaining information about the software and hardware of a computer running Linux
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 = "ferrix-lib"
version = "0.5.0"
authors = ["Michail Krasnov <mskrasnov07@ya.ru>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for obtaining information about the software and hardware of a computer running Linux"
readme = "README.md"
keywords = [
    "ferrix",
    "hardware",
    "dmi",
    "smbios",
    "linux",
]
categories = ["os"]
license = "GPL-3.0"
repository = "https://github.com/mskrasnov/FSM"
resolver = "2"

[features]
battery = []
cpu = []
cpu_freq = ["cpu"]
default = [
    "battery",
    "cpu",
    "desktop",
    "dmi",
    "drm",
    "firmware",
    "init",
    "mem",
    "net",
    "parts",
    "resources",
    "soft",
    "sensors",
    "sys",
    "cpu_freq",
    "vulnerabilities",
]
desktop = []
dmi = ["dep:smbios-lib"]
drm = []
firmware = []
init = [
    "dep:zbus",
    "dep:zbus_systemd",
]
mem = []
net = []
parts = ["dep:libc"]
resources = []
sensors = []
soft = []
sys = []
vulnerabilities = ["cpu"]

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

[dependencies.anyhow]
version = "1.0.98"

[dependencies.libc]
version = "0.2.180"
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.smbios-lib]
version = "0.9.4"
optional = true

[dependencies.xml_serde]
version = "1.4.1"

[dependencies.zbus]
version = "5.9.0"
optional = true

[dependencies.zbus_systemd]
version = "0.25701.0"
features = [
    "systemd1",
    "timedate1",
]
optional = true