mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-25 22:18:59 +00:00
Move all crates to workspace root
Having all the workspace crates under the crates/ directory is unnecessary. Rust documentation itself recommends all crates to be in the root directory: https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html#creating-the-second-package-in-the-workspace I paste the text content here, in case the online page ever changes or becomes unavailable: ## Creating the Second Package in the Workspace Next, let’s create another member package in the workspace and call it add_one. Change the top-level Cargo.toml to specify the add_one path in the members list: Filename: Cargo.toml [workspace] members = [ "adder", "add_one", ] Then generate a new library crate named add_one: $ cargo new add_one --lib Created library `add_one` package Your add directory should now have these directories and files: ├── Cargo.lock ├── Cargo.toml ├── add_one │ ├── Cargo.toml │ └── src │ └── lib.rs ├── adder │ ├── Cargo.toml │ └── src │ └── main.rs └── target Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
26e787a038
commit
a1e013286f
12
Cargo.toml
12
Cargo.toml
@ -2,10 +2,10 @@
|
||||
resolver = "2"
|
||||
|
||||
members = [
|
||||
"crates/vhost-device-gpio",
|
||||
"crates/vhost-device-i2c",
|
||||
"crates/vhost-device-rng",
|
||||
"crates/vhost-device-scsi",
|
||||
"crates/vhost-device-scmi",
|
||||
"crates/vhost-device-vsock",
|
||||
"vhost-device-gpio",
|
||||
"vhost-device-i2c",
|
||||
"vhost-device-rng",
|
||||
"vhost-device-scsi",
|
||||
"vhost-device-scmi",
|
||||
"vhost-device-vsock",
|
||||
]
|
||||
|
||||
12
README.md
12
README.md
@ -8,12 +8,12 @@ crates.
|
||||
|
||||
Here is the list of device backends that we support:
|
||||
|
||||
- [GPIO](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-gpio/README.md)
|
||||
- [I2C](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-i2c/README.md)
|
||||
- [RNG](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-rng/README.md)
|
||||
- [SCMI](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-scmi/README.md)
|
||||
- [SCSI](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-scsi/README.md)
|
||||
- [VSOCK](https://github.com/rust-vmm/vhost-device/blob/main/crates/vhost-device-vsock/README.md)
|
||||
- [GPIO](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-gpio/README.md)
|
||||
- [I2C](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-i2c/README.md)
|
||||
- [RNG](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-rng/README.md)
|
||||
- [SCMI](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-scmi/README.md)
|
||||
- [SCSI](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-scsi/README.md)
|
||||
- [VSOCK](https://github.com/rust-vmm/vhost-device/blob/main/vhost-device-vsock/README.md)
|
||||
|
||||
For `vhost-user` device backends that have no final specification merged into
|
||||
the [VIRTIO specification](https://github.com/oasis-tcs/virtio-spec), or have partial functionality, we have a [staging
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-APACHE
|
||||
@ -1 +0,0 @@
|
||||
../../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-gpio/LICENSE-APACHE
Symbolic link
1
vhost-device-gpio/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-gpio/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-gpio/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-i2c/LICENSE-APACHE
Symbolic link
1
vhost-device-i2c/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-i2c/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-i2c/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-rng/LICENSE-APACHE
Symbolic link
1
vhost-device-rng/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-rng/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-rng/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-scmi/LICENSE-APACHE
Symbolic link
1
vhost-device-scmi/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-scmi/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-scmi/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-scsi/LICENSE-APACHE
Symbolic link
1
vhost-device-scsi/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-scsi/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-scsi/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
1
vhost-device-vsock/LICENSE-APACHE
Symbolic link
1
vhost-device-vsock/LICENSE-APACHE
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
vhost-device-vsock/LICENSE-BSD-3-Clause
Symbolic link
1
vhost-device-vsock/LICENSE-BSD-3-Clause
Symbolic link
@ -0,0 +1 @@
|
||||
../LICENSE-BSD-3-Clause
|
||||
Loading…
Reference in New Issue
Block a user