qemu-display

Crates.ioqemu-display
lib.rsqemu-display
version
sourcesrc
created_at2025-01-15 08:49:17.517153
updated_at2025-01-29 08:12:36.625857
descriptionHelper library to communicate with qemu -display dbus
homepage
repositoryhttps://gitlab.com/marcandre.lureau/qemu-display
max_upload_size
id1517286
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Marc-Andre Lureau (elmarco)

documentation

README

QEMU -display dbus library

Crates.io Documentation License

Provides convenient APIs to communicate with qemu -display dbus from Rust.

Features

  • provides all common D-Bus interfaces by default
  • provides "unix" and "win32" specific interfaces on respective targets
  • optional "qmp" feature, to allow connecting to QEMU via p2p / bus-less.

Installation

Add this to your Cargo.toml:

[dependencies]
qemu-display = "0.1.0"

Quick Start

Here's a simple example of how to use the library:

# use std::error::Error;
use qemu_display::Display;

#[async_std::main]
async fn main() -> Result<(), Box<dyn Error>> {
    let conn = zbus::Connection::session().await?;
    let display = Display::new::<()>(&conn, None).await?;
    // TODO: complete this example
    Ok(())
}

API Documentation

For detailed API documentation, please visit docs.rs/qemu-display.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Development Setup

  1. Clone the repository:
git clone https://gitlab.com/marcandre.lureau/qemu-display
cd qemu-display/qemu-display
  1. Build the project:
cargo build
  1. Run tests:
cargo test

Changelog

[0.1.0] - 2025-01-15

  • Initial release

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to contributors
  • Credit to Rust, QEMU and zbus
  • Red Hat!

Contact


Built with ❤️ using Rust

Commit count: 234

cargo fmt