Skip to content

Commit 9fcd33c

Browse files
russell-islamandreeaflorescu
authored andcommitted
Add folder structure
Make two separate crates as mshv-ioctls and mshv-bindigs and add them under one workspace(mshv). Signed-off-by: Muminul Islam <[email protected]>
1 parent 8c7b3c2 commit 9fcd33c

File tree

6 files changed

+23
-18
lines changed

6 files changed

+23
-18
lines changed

Cargo.toml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
[package]
2-
name = "crate-template"
3-
version = "0.1.0"
4-
authors = ["TODO"]
5-
description = "This is a template for creating rust-vmm repositories."
6-
repository = "https://github.com/rust-vmm/crate-template"
7-
readme = "README.md"
8-
keywords = ["virt"]
9-
license = "Apache-2.0 OR BSD-3-Clause"
10-
edition = "2018"
11-
12-
[dependencies]
1+
[workspace]
2+
members = [
3+
"mshv-bindings",
4+
"mshv-ioctls",
5+
]

mshv-bindings/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[package]
2+
name = "mshv-bindings"
3+
version = "0.1.0"
4+
authors = ["Microsoft Authors"]
5+
edition = "2018"

mshv-bindings/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Copyright © 2020, Microsoft Corporation
2+
//
3+
// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
4+
//

mshv-ioctls/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[package]
2+
name = "mshv-ioctls"
3+
version = "0.1.0"
4+
authors = ["Microsoft Authors"]
5+
edition = "2018"

mshv-ioctls/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Copyright © 2020, Microsoft Corporation
2+
//
3+
// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
4+
//

src/lib.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)