Gunnar

nordisk/heimdall

crates/heimdall-cli/Cargo.toml

[package]
name = "nordisk-heimdall-cli"
description = "Heimdall is a defensive sandbox: the heimdall command line (run a wasm job, verify a signed result)."
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
rust-version.workspace = true
keywords = ["sandbox","wasm","security","cli"]
categories = ["command-line-utilities","wasm"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]


[[bin]]
name = "heimdall"
path = "src/main.rs"

[dependencies]
heimdall-core = { package = "nordisk-heimdall-core", path = "../heimdall-core", version = "0.1.0" }
heimdall-run = { package = "nordisk-heimdall-run", path = "../heimdall-run", version = "0.1.0" }
clap = { version = "4", features = ["derive"] }
libc = "0.2"

[dev-dependencies]
tempfile = "3"
serde_json = "1"
# The real-guest end-to-end tests reuse heimdall-wasm's test kit
# (tests/common/mod.rs): WAT guests componentized and signed with a throwaway CA.
heimdall-wasm = { package = "nordisk-heimdall-wasm", path = "../heimdall-wasm", version = "0.1.0" }
guest-host = { version = "0.2.1", default-features = false, features = ["verify-modules"] }
blake3 = "1"
sha2 = "0.10"
wat = "1.258.3"
wit-component = "0.258.3"
wit-parser = "0.258.3"