Skip to content

Commit

Permalink
cargo: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel committed Feb 21, 2024
1 parent 60444dc commit 97e36fa
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ crate-type = ["cdylib", "lib"]

[features]
# Xen driver
xen = ["xenctrl", "xenstore-rs", "xenforeignmemory", "xenevtchn", "xenvmevent-sys", "libc"]
xen = [
"xenctrl",
"xenstore-rs",
"xenforeignmemory",
"xenevtchn",
"xenvmevent-sys",
"libc",
]
# KVM driver
kvm = ["kvmi"]
# VirtualBox driver
Expand All @@ -34,17 +41,24 @@ nix = "^0.23.0"
enum-iterator = "0.7.0"
thiserror = "1.0"
libc = { version = "0.2.58", optional = true }
xenctrl = { version = "=0.4.7", optional = true }
xenctrl = { version = "=0.6.0", optional = true }
xenstore-rs = { version = "=0.3.2", optional = true }
xenforeignmemory = { version = "=0.2.3", optional = true }
xenevtchn = { version = "=0.1.6", optional = true }
xenvmevent-sys = { version = "=0.1.3", optional = true }
kvmi = { version = "0.4.0", optional = true }
fdp = { version = "=0.2.5", optional = true }
winapi = { version = "0.3", features = ["tlhelp32", "winnt", "handleapi", "securitybaseapi"], optional = true }
winapi = { version = "0.3", features = [
"tlhelp32",
"winnt",
"handleapi",
"securitybaseapi",
], optional = true }
widestring = { version = "0.4", optional = true }
ntapi = { version = "0.3", optional = true }
vid-sys = { version = "=0.3.0", features = ["deprecated-apis"], optional = true }
vid-sys = { version = "=0.3.0", features = [
"deprecated-apis",
], optional = true }
memflow = { version = "0.1.5", optional = true }

[dev-dependencies]
Expand Down Expand Up @@ -78,8 +92,16 @@ section = "libs"
priority = "optional"
# add generated libmicrovmi.h header
assets = [
["target/release/libmicrovmi.so", "usr/lib/libmicrovmi.so", "644"],
["target/release/capi/libmicrovmi.h", "usr/include/libmicrovmi.h", "644"],
[
"target/release/libmicrovmi.so",
"usr/lib/libmicrovmi.so",
"644",
],
[
"target/release/capi/libmicrovmi.h",
"usr/include/libmicrovmi.h",
"644",
],
]

[package.metadata.release]
Expand All @@ -89,6 +111,4 @@ assets = [
disable-publish = true

[workspace]
members = [
"python"
]
members = ["python"]

0 comments on commit 97e36fa

Please sign in to comment.