# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

[package]
name = "vmgstool"
edition.workspace = true
rust-version.workspace = true

[features]
default = []

# Use native windows crypto APIs
encryption_win = ["vmgs/encryption_win"]
# Use OpenSSL crypto APIs
encryption_ossl = ["vmgs/encryption_ossl"]

test_helpers = ["vmgs/test_helpers", "getrandom"]

[dependencies]
disk_backend.workspace = true
disk_vhd1.workspace = true
uefi_nvram_storage.workspace = true
guid.workspace = true
hcl_compat_uefi_nvram_storage.workspace = true
pal_async.workspace = true
uefi_nvram_specvars.workspace = true
uefi_specs.workspace = true
vmgs.workspace = true
vmgs_format.workspace = true

anyhow.workspace = true
async-trait.workspace = true
clap = { workspace = true, features = ["derive"] }
hex.workspace = true
fs-err.workspace = true
getrandom = { workspace = true, optional = true}
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["std"] }
thiserror.workspace = true
ucs2.workspace = true

[dev-dependencies]
tempfile.workspace = true

[lints]
workspace = true
