Crates.io | qemu-display |
lib.rs | qemu-display |
version | |
source | src |
created_at | 2025-01-15 08:49:17.517153 |
updated_at | 2025-01-29 08:12:36.625857 |
description | Helper library to communicate with qemu -display dbus |
homepage | |
repository | https://gitlab.com/marcandre.lureau/qemu-display |
max_upload_size | |
id | 1517286 |
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` |
size | 0 |
Provides convenient APIs to communicate with qemu -display dbus
from Rust.
Add this to your Cargo.toml
:
[dependencies]
qemu-display = "0.1.0"
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