mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-02 22:52:15 +00:00
Add vhost-device-scmi support for the mangen task in xtask binary.
This generates a manpage in target/dist/man/vhost-device-scmi.1
The rendered ROFF output looks like:
vhost-device-scmi(1) General Commands Manual vhost-device-scmi(1)
NAME
vhost-device-scmi - vhost-user SCMI backend device
SYNOPSIS
vhost-device-scmi <-s|--socket-path> [-d|--device] [--help-devices] [-h|--help] [-V|--version]
DESCRIPTION
vhost-user SCMI backend device
OPTIONS
-s, --socket-path=SOCKET_PATH
vhost-user socket to use
-d, --device=DEVICE
Devices to expose
--help-devices
Print help on available devices
-h, --help
Print help
-V, --version
Print version
VERSION
v0.3.0
REPORTING BUGS
Report bugs to the project's issue tracker: https://github.com/rust-vmm/vhost-device
vhost-device-scmi 0.3.0 vhost-device-scmi(1)
Fixes #697 ("Add man page for vhost-device-scmi")
Resolves: https://github.com/rust-vmm/vhost-device/issues/697
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
29 lines
1016 B
TOML
29 lines
1016 B
TOML
[package]
|
|
name = "xtask"
|
|
version = "0.1.0"
|
|
authors = ["Manos Pitsidianakis <manos.pitsidianakis@linaro.org>"]
|
|
description = "A helper binary crate following the cargo-xtask workflow recommended in <https://github.com/matklad/cargo-xtask>"
|
|
repository = "https://github.com/rust-vmm/vhost-device"
|
|
readme = "README.md"
|
|
license = "EUPL-1.2 OR GPL-3.0-or-later"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive"], optional = true }
|
|
clap_mangen = { version = "0.2.24", optional = true }
|
|
toml = { version = "0.8.19", optional = true }
|
|
|
|
[build-dependencies]
|
|
|
|
[features]
|
|
default = ["vhost-device-sound", "vhost-device-scmi"]
|
|
vhost-device-scmi = []
|
|
vhost-device-sound = ["vhost-device-sound-alsa", "vhost-device-sound-pipewire"]
|
|
vhost-device-sound-alsa = ["mangen"]
|
|
vhost-device-sound-pipewire = ["mangen"]
|
|
mangen = ["dep:clap_mangen", "dep:clap", "dep:toml"]
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(feature, values("alsa-backend", "pw-backend"))'] }
|