2024-01-08 20:45:16 -08:00
|
|
|
[package]
|
2024-03-30 06:17:30 +00:00
|
|
|
name = "krata-xencall"
|
2024-06-21 01:10:45 -07:00
|
|
|
description = "An implementation of direct interfacing to Xen privcmd for krata"
|
2024-03-30 07:11:14 +00:00
|
|
|
license.workspace = true
|
2024-04-02 23:50:45 +00:00
|
|
|
version.workspace = true
|
2024-03-30 07:11:14 +00:00
|
|
|
homepage.workspace = true
|
|
|
|
repository.workspace = true
|
2024-01-08 20:45:16 -08:00
|
|
|
edition = "2021"
|
|
|
|
resolver = "2"
|
|
|
|
|
2024-01-10 16:07:57 -08:00
|
|
|
[dependencies]
|
2024-01-29 07:53:35 -08:00
|
|
|
libc = { workspace = true }
|
|
|
|
log = { workspace = true }
|
2024-03-07 18:04:22 +00:00
|
|
|
nix = { workspace = true, features = ["ioctl"] }
|
|
|
|
thiserror = { workspace = true }
|
2024-04-02 00:56:18 +00:00
|
|
|
tokio = { workspace = true }
|
2024-01-09 15:40:17 -08:00
|
|
|
|
2024-03-07 18:04:22 +00:00
|
|
|
[lib]
|
|
|
|
name = "xencall"
|
2024-01-08 20:45:16 -08:00
|
|
|
|
2024-01-11 12:21:33 -08:00
|
|
|
[dev-dependencies]
|
2024-01-29 07:53:35 -08:00
|
|
|
env_logger = { workspace = true }
|
2024-01-11 12:21:33 -08:00
|
|
|
|
2024-10-17 13:27:23 -04:00
|
|
|
[[example]]
|
|
|
|
name = "xencall-cpu-topology"
|
|
|
|
path = "examples/cpu_topology.rs"
|
|
|
|
|
2024-01-08 20:45:16 -08:00
|
|
|
[[example]]
|
2024-01-09 15:40:17 -08:00
|
|
|
name = "xencall-domain-info"
|
|
|
|
path = "examples/domain_info.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "xencall-domain-create"
|
|
|
|
path = "examples/domain_create.rs"
|
2024-01-09 22:39:32 -08:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "xencall-version-capabilities"
|
|
|
|
path = "examples/version_capabilities.rs"
|
2024-06-28 15:13:57 -07:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "xencall-power-management"
|
|
|
|
path = "examples/power_management.rs"
|