Crates.io | qemu-display |
lib.rs | qemu-display |
version | 0.2.1 |
created_at | 2025-01-15 08:49:17.517153+00 |
updated_at | 2025-07-30 20:47:35.140877+00 |
description | Helper library to communicate with qemu -display dbus |
homepage | |
repository | https://gitlab.com/marcandre.lureau/qemu-display |
max_upload_size | |
id | 1517286 |
size | 119,953 |
Provides convenient APIs to communicate with qemu -display dbus
from Rust.
Add this to your Cargo.toml
:
[dependencies]
qemu-display = "0.2"
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(())
}
For detailed API documentation, please visit docs.rs/qemu-display.
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.
git clone https://gitlab.com/marcandre.lureau/qemu-display
cd qemu-display/qemu-display
cargo build
cargo test
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ using Rust