{"id":21595262,"url":"https://github.com/euank/libvirt-rust","last_synced_at":"2025-03-18T11:09:40.190Z","repository":{"id":66058142,"uuid":"80271287","full_name":"euank/libvirt-rust","owner":"euank","description":"Fork of https://github.com/atmosphre/libvirt-rs","archived":false,"fork":false,"pushed_at":"2018-09-22T20:01:18.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T17:19:56.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-28T06:56:30.000Z","updated_at":"2019-04-20T13:33:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cfa96e3-12ad-4b90-8c97-8d7a0c9d3c29","html_url":"https://github.com/euank/libvirt-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Flibvirt-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Flibvirt-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Flibvirt-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Flibvirt-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euank","download_url":"https://codeload.github.com/euank/libvirt-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207736,"owners_count":20416107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T17:35:28.526Z","updated_at":"2025-03-18T11:09:40.169Z","avatar_url":"https://github.com/euank.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libvirt-rs \n[![Build Status](https://travis-ci.org/euank/libvirt-rust.svg?branch=master)](https://travis-ci.org/euank/libvirt-rust)\n\n## Overview\nLibvirt bindings for rust. This is in WIP but most of the common functions that are used by us is available here.\n\nNote: Everything is subject to change and not every function is guarantee to be stable.\n\n```rust\nextern crate libvirt;\n\nuse libvirt::connection::{Connection, ConnectionType};\n\nfn main() {\n    let conn: Connection = match Connection::new(\"qemu:///system\".to_string(), ConnectionType::READONLY) {\n        Ok(c) =\u003e c,\n        Err(e) =\u003e panic!(\"Failed to connect to hypervisor: {}\", e.message)\n    };\n\n    println!(\"Connected to hypervisor\");\n\n    match conn.close() {\n        Ok(()) =\u003e println!(\"Disconnected from hypervisor\"),\n        Err(e) =\u003e panic!(\"Failed to disconnect from hypervisor: {}\", e.message)\n    }\n\n}\n\n```\n\n\n## Requirements\n\nFor this to work you will need libvirt 1.2.2 or higher as well as the development libraries (especially if you plan on adding additional functions). Please know that we cannot promise that this binding will work with any older version of libvirt, nor will we add support for any older version of libvirt.\n\n\nFor Ubuntu/Debian: `libvirt-dev`\nFor RHEL/Centos/Fedora: `libvirt-devel`\nFor Archlinux: `libvirt`\n\n## Contributing\n\nAll are welcome to fork and submit PR towards this binding. In addition to making a PR to add new features, please add a unit test. It is not required but would explain the function would work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Flibvirt-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuank%2Flibvirt-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Flibvirt-rust/lists"}