libkrun 1.18.0

A dynamic library providing Virtualization-based process isolation capabilities
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "libkrun"
version = "1.18.0"
authors = ["The libkrun Authors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A dynamic library providing Virtualization-based process isolation capabilities"
readme = false
license = "Apache-2.0"
repository = "https://github.com/containers/libkrun"

[features]
amd-sev = [
    "blk",
    "tee",
    "vmm/amd-sev",
    "devices/amd-sev",
]
aws-nitro = [
    "vmm/aws-nitro",
    "devices/aws-nitro",
    "dep:aws-nitro",
    "dep:nitro-enclaves",
]
blk = [
    "devices/blk",
    "vmm/blk",
]
efi = [
    "blk",
    "net",
    "vmm/efi",
    "devices/efi",
]
gpu = [
    "vmm/gpu",
    "devices/gpu",
    "krun_display",
]
input = [
    "krun_input",
    "vmm/input",
    "devices/input",
]
net = [
    "devices/net",
    "vmm/net",
]
snd = [
    "vmm/snd",
    "devices/snd",
]
tdx = [
    "blk",
    "tee",
    "vmm/tdx",
    "devices/tdx",
]
tee = [
    "vmm/tee",
    "devices/tee",
]
virgl_resource_map2 = ["devices/virgl_resource_map2"]

[lib]
name = "krun"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[dependencies.crossbeam-channel]
version = ">=0.5.15"

[dependencies.devices]
version = "=0.1.0-1.18.0"
package = "krun-devices"

[dependencies.env_logger]
version = "0.11"

[dependencies.krun_display]
version = "0.1.0"
features = ["bindgen_clang_runtime"]
optional = true
package = "krun-display"

[dependencies.krun_input]
version = "0.1.0"
features = ["bindgen_clang_runtime"]
optional = true
package = "krun-input"

[dependencies.libc]
version = ">=0.2.39"

[dependencies.libloading]
version = "0.8"

[dependencies.log]
version = "0.4.0"

[dependencies.once_cell]
version = "1.4.1"

[dependencies.polly]
version = "=0.1.0-1.18.0"
package = "krun-polly"

[dependencies.rand]
version = "0.9.2"

[dependencies.utils]
version = "=0.1.0-1.18.0"
package = "krun-utils"

[dependencies.vmm]
version = "=0.1.0-1.18.0"
package = "krun-vmm"

[target.'cfg(target_os = "linux")'.dependencies.aws-nitro]
version = "=0.1.0-1.18.0"
optional = true
package = "krun-aws-nitro"

[target.'cfg(target_os = "linux")'.dependencies.kvm-bindings]
version = "0.12"
features = ["fam-wrappers"]

[target.'cfg(target_os = "linux")'.dependencies.kvm-ioctls]
version = "0.22"

[target.'cfg(target_os = "linux")'.dependencies.nitro-enclaves]
version = "0.5.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.vm-memory]
version = "0.17"
features = ["backend-mmap"]

[target.'cfg(target_os = "macos")'.dependencies.hvf]
version = "=0.1.0-1.18.0"
package = "krun-hvf"