Skip to content

Commit 2bae9a8

Browse files
committed
monorepo: Setup repository as a Rust workspace
Create Rust workspace to incorporate `kvm-bindings` and `kvm-ioctls` as members of this workspace. Signed-off-by: Ruoqing He <[email protected]>
1 parent 3148011 commit 2bae9a8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[workspace]
2+
resolver = "2"
3+
members = [
4+
"kvm-bindings",
5+
"kvm-ioctls",
6+
]

kvm-ioctls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111

1212
[dependencies]
1313
libc = "0.2.39"
14-
kvm-bindings = { version = "0.10.0", features = ["fam-wrappers"] }
14+
kvm-bindings = { path = "../kvm-bindings", version = "0.10.0", features = ["fam-wrappers"] }
1515
vmm-sys-util = "0.12.1"
1616
bitflags = "2.4.1"
1717

0 commit comments

Comments
 (0)