hyperlight-wasm 0.14.0

Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight.
# 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 = "2024"
rust-version = "1.89"
name = "hyperlight-wasm"
version = "0.14.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight.
"""
homepage = "https://github.com/hyperlight-dev/hyperlight-wasm"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hyperlight-dev/hyperlight-wasm"
resolver = "2"

[features]
crashdump = ["hyperlight-host/crashdump"]
default = [
    "function_call_metrics",
    "kvm",
    "mshv3",
]
function_call_metrics = ["hyperlight-host/function_call_metrics"]
gdb = ["hyperlight-host/gdb"]
kvm = ["hyperlight-host/kvm"]
mshv3 = ["hyperlight-host/mshv3"]
print_debug = ["hyperlight-host/print_debug"]
pulley = []
trace_guest = ["hyperlight-host/trace_guest"]

[lib]
name = "hyperlight_wasm"
path = "src/lib.rs"
bench = false

[[example]]
name = "c-component"
path = "examples/c-component/main.rs"

[[example]]
name = "component_example"
path = "examples/component_example/main.rs"

[[example]]
name = "component_greeter_example"
path = "examples/component_greeter_example/main.rs"
test = true

[[example]]
name = "guest-debugging"
path = "examples/guest-debugging/main.rs"
test = true

[[example]]
name = "helloworld"
path = "examples/helloworld/main.rs"
test = true

[[example]]
name = "hostfuncs"
path = "examples/hostfuncs/main.rs"
test = true

[[example]]
name = "interruption"
path = "examples/interruption/main.rs"
test = true

[[example]]
name = "metrics"
path = "examples/metrics/main.rs"
test = true

[[example]]
name = "rust_wasm_examples"
path = "examples/rust_wasm_examples/main.rs"
test = true

[[example]]
name = "tracing-otlp"
path = "examples/tracing-otlp/main.rs"
test = true

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[[bench]]
name = "benchmarks_components"
path = "benches/benchmarks_components.rs"
harness = false

[dependencies.cfg-if]
version = "1"

[dependencies.env_logger]
version = "0.11.10"

[dependencies.hyperlight-common]
version = "0.14.0"
default-features = false

[dependencies.hyperlight-host]
version = "0.14.0"
features = ["executable_heap"]
default-features = false

[dependencies.hyperlight-wasm-runtime]
version = "0.14.0"

[dependencies.libc]
version = "0.2.183"

[dependencies.log]
version = "0.4"

[dependencies.metrics]
version = "0.24.3"

[dependencies.once_cell]
version = "1.21.4"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.blake3]
version = "1.8"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.crossbeam-queue]
version = "0.3"

[dev-dependencies.hyperlight-component-macro]
version = "0.14.0"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.18"

[dev-dependencies.metrics-util]
version = "0.20.1"

[dev-dependencies.opentelemetry]
version = "0.31.0"

[dev-dependencies.opentelemetry-otlp]
version = "0.31.1"
features = [
    "http-proto",
    "reqwest-blocking-client",
    "grpc-tonic",
]
default-features = false

[dev-dependencies.opentelemetry-semantic-conventions]
version = "0.31"

[dev-dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["rt-tokio"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.51.0"
features = ["full"]

[dev-dependencies.toml]
version = "1.1.0"

[dev-dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tracing-forest]
version = "0.3.1"
features = [
    "uuid",
    "chrono",
    "smallvec",
    "serde",
    "env-filter",
]

[dev-dependencies.tracing-opentelemetry]
version = "0.32.1"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "std",
    "env-filter",
]

[dev-dependencies.uuid]
version = "1.23.0"
features = ["v4"]

[build-dependencies.anyhow]
version = "1.0"

[build-dependencies.blake3]
version = "1.8"

[build-dependencies.built]
version = "0.8.0"
features = [
    "chrono",
    "git2",
]

[build-dependencies.cargo-hyperlight]
version = "0.1.8"

[build-dependencies.cfg_aliases]
version = "0.2.1"

[build-dependencies.chrono]
version = "0.4"

[build-dependencies.goblin]
version = "0.10.5"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde_json]
version = "1.0"

[build-dependencies.tar]
version = "0.4.45"

[target."cfg(windows)".dependencies.page_size]
version = "0.6.0"

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = ["Win32_System_Threading"]

[target."cfg(windows)".build-dependencies.junction]
version = "1"