[badges.github]
repository = "virtee/sev"
workflow = "test"
[badges.is-it-maintained-issue-resolution]
repository = "virtee/sev"
[badges.is-it-maintained-open-issues]
repository = "virtee/sev"
[badges.maintenance]
status = "actively-developed"
[dependencies.base64]
version = "0.22.1"
[dependencies.bincode]
features = ["serde"]
version = "^2.0"
[dependencies.bitfield]
version = "^0.19"
[dependencies.bitflags]
version = "2.9.0"
[dependencies.byteorder]
version = "1.4.3"
[dependencies.codicon]
version = "3.0"
[dependencies.dirs]
version = "^6.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.libc]
version = "0.2.172"
[dependencies.openssl]
optional = true
version = "0.10"
[dependencies.p384]
optional = true
version = "0.13.0"
[dependencies.rdrand]
optional = true
version = "^0.8"
[dependencies.reqwest]
features = ["blocking"]
optional = true
version = "^0.12"
[dependencies.rsa]
optional = true
version = "0.9.6"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde-big-array]
version = "0.5.1"
[dependencies.serde_bytes]
version = "0.11"
[dependencies.sha2]
optional = true
version = "0.10.9"
[dependencies.static_assertions]
version = "^1.1.0"
[dependencies.tokio]
features = ["rt-multi-thread"]
optional = true
version = "1.29.1"
[dependencies.uuid]
features = ["serde"]
version = "^1.11"
[dependencies.x509-cert]
optional = true
version = "0.2.5"
[dev-dependencies.serial_test]
version = "3.0"
[features]
crypto_nossl = ["dep:p384", "dep:rsa", "dep:sha2", "dep:x509-cert"]
dangerous_hw_tests = ["hw_tests", "dep:reqwest", "dep:tokio"]
default = ["sev", "snp", "openssl?/vendored"]
hw_tests = []
openssl = ["dep:openssl", "dep:rdrand"]
sev = []
snp = []
[lib]
doc = false
name = "sev"
path = "src/lib.rs"
[package]
authors = ["Nathaniel McCallum <npmccallum@redhat.com>", "The VirTEE Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["os", "os::linux-apis", "parsing", "network-programming", "hardware-support"]
description = "Library for AMD SEV"
edition = "2018"
exclude = [".gitignore", ".github/*"]
homepage = "https://github.com/virtee/sev"
keywords = ["amd", "sev"]
license = "Apache-2.0"
name = "sev"
readme = "README.md"
repository = "https://github.com/virtee/sev"
rust-version = "1.85.0"
version = "6.3.1"
[target.'cfg(target_os = "linux")'.dependencies.iocuddle]
version = "^0.1"
[target.'cfg(target_os = "linux")'.dev-dependencies.kvm-bindings]
version = "^0.11"
[target.'cfg(target_os = "linux")'.dev-dependencies.kvm-ioctls]
version = ">=0.16"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "certs"
path = "tests/certs.rs"
[[test]]
name = "guest"
path = "tests/guest.rs"
[[test]]
name = "id-block"
path = "tests/id-block.rs"
[[test]]
name = "measurement"
path = "tests/measurement.rs"
[[test]]
name = "session"
path = "tests/session.rs"
[[test]]
name = "sev_launch"
path = "tests/sev_launch.rs"
[[test]]
name = "snp_launch"
path = "tests/snp_launch.rs"