Files
Richard W.M. Jones d01ce08218 rust: Fix deprecated use of panic!(format!(...))
warning: panic message is not a string literal
 --> src/bin/event_leak.rs:9:30
  |
9 |             Err(e) => panic!(format!(" could not create handle {:?}", e)),
  |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(non_fmt_panic)]` on by default
  = note: this is no longer accepted in Rust 2021
  = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2021-05-05 12:57:51 +01:00
..

libguestfs bindings for Rust

This package contains the libguestfs bindings for Rust. You can use this crate by using cargo. See crates.io

For maintainer

How to test

Tests are incorporated into the build system.

You can test it manually by

$ ../run cargo test

How to publish

1. Fix version in Cargo.toml.in

Regarding Versioning convention, see Semantic Versioning.

You must not break '-compat@VERSION@' to make sure that this binding is compatible with the installed libguestfs.

Example

version = "0.1.0-compat@VERSION@"

2. Commit the change of the version

3. Build libguestfs

4. Publish

$ cargo publish