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

[package]
name = "vmgstool"
version = "2.0.0"
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"]

# run windows encryption unit tests in CI
ci = ["encryption_win"]

[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
tracing.workspace = true
tracing-subscriber.workspace = true
ucs2.workspace = true
resource_dll_parser.workspace = true

[dev-dependencies]
tempfile.workspace = true

[lints]
workspace = true
