# 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 = "msb_krun_arch"
version = "0.1.9"
authors = ["The Chromium OS Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Architecture-specific support for msb_krun microVMs"
readme = false
license = "Apache-2.0 AND BSD-3-Clause"
repository = "https://github.com/containers/libkrun"

[features]
amd-sev = ["tee"]
efi = []
tdx = [
    "tee",
    "dep:tdx",
]
tee = []

[lib]
name = "msb_krun_arch"
path = "src/lib.rs"

[dependencies.arch_gen]
version = "0.1.9"
package = "msb_krun_arch_gen"

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

[dependencies.smbios]
version = "0.1.9"
package = "msb_krun_smbios"

[dependencies.utils]
version = "0.1.9"
package = "msb_krun_utils"

[dependencies.vm-memory]
version = "~0.16"
features = ["backend-mmap"]

[dependencies.vmm-sys-util]
version = ">= 0.14"

[dev-dependencies.utils]
version = "0.1.9"
package = "msb_krun_utils"

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

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

[target.'cfg(target_os = "linux")'.dependencies.tdx]
version = "0.1.0"
optional = true
