krata: split out runtime

This commit is contained in:
Alex Zenla
2024-03-07 18:04:22 +00:00
parent 56dd3ea032
commit c0eeab4047
27 changed files with 235 additions and 236 deletions

View File

@ -1,16 +1,15 @@
# This package is from https://github.com/GamePad64/advmac
# Edera maintains an in-tree version because of dependencies
# being out of date.
# Edera maintains an in-tree version because of dependencies being out of date.
[package]
name = "advmac"
version.workspace = true
license = "MIT"
edition = "2021"
[dependencies]
arrayvec = { workspace = true, features = ["serde"] }
rand = { workspace = true }
serde = { workspace = true }
[lib]
name = "advmac"
[dependencies]
serde = { workspace = true }
rand = { workspace = true }
arrayvec = { workspace = true, features = ["serde"] }

21
libs/advmac/LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Alexander Shishenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -8,13 +8,10 @@ version.workspace = true
license = "MIT"
edition = "2021"
[lib]
name = "loopdev"
[dependencies]
errno = { workspace = true }
libc = { workspace = true }
nix = { workspace = true, features = ["ioctl"] }
[dependencies.nix]
workspace = true
features = ["ioctl"]
[lib]
name = "loopdev"

View File

@ -4,18 +4,15 @@ version.workspace = true
edition = "2021"
resolver = "2"
[lib]
path = "src/lib.rs"
[dependencies]
thiserror = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
nix = { workspace = true, features = ["ioctl"] }
thiserror = { workspace = true }
uuid = { workspace = true }
[dependencies.nix]
workspace = true
features = ["ioctl"]
[lib]
name = "xencall"
[dev-dependencies]
env_logger = { workspace = true }

View File

@ -5,28 +5,24 @@ edition = "2021"
resolver = "2"
[dependencies]
thiserror = { workspace = true }
libc = { workspace = true }
elf = { workspace = true }
flate2 = { workspace = true }
xz2 = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
memchr = { workspace = true }
slice-copy = { workspace = true }
log = { workspace = true }
uuid = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
[dependencies.xencall]
path = "../xencall"
[dependencies.xenstore]
path = "../xenstore"
uuid = { workspace = true }
xz2 = { workspace = true }
xencall = { path = "../xencall" }
xenstore = { path = "../xenstore" }
[dev-dependencies]
env_logger = { workspace = true }
[lib]
path = "src/lib.rs"
name = "xenclient"
[[example]]
name = "xenclient-boot"

View File

@ -5,16 +5,13 @@ edition = "2021"
resolver = "2"
[dependencies]
thiserror = { workspace = true }
tokio = { workspace = true }
log = { workspace = true }
[dependencies.nix]
workspace = true
features = ["ioctl"]
thiserror = { workspace = true }
nix = { workspace = true, features = ["ioctl"] }
tokio = { workspace = true }
[lib]
path = "src/lib.rs"
name = "xenevtchn"
[[example]]
name = "xenevtchn-simple"

View File

@ -4,16 +4,16 @@ version.workspace = true
edition = "2021"
resolver = "2"
[lib]
path = "src/lib.rs"
[dependencies]
thiserror = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
tokio = { workspace = true }
async-trait = { workspace = true }
byteorder = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
[lib]
name = "xenstore"
[dev-dependencies]
env_logger = { workspace = true }