[package]
name = "hyperlight-common"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
description = """
Hyperlight's components common to host and guest.
"""
[lints]
workspace = true
[dependencies]
flatbuffers = { version = "25.12.19", default-features = false }
anyhow = { version = "1.0.102", default-features = false }
log = "0.4.29"
tracing = { version = "0.1.44", optional = true }
arbitrary = {version = "1.4.2", optional = true, features = ["derive"]}
spin = "0.10.0"
thiserror = { version = "2.0.18", default-features = false }
tracing-core = { version = "0.1.36", default-features = false }
[features]
default = ["tracing"]
tracing = ["dep:tracing"]
fuzzing = ["dep:arbitrary"]
trace_guest = []
mem_profile = []
std = ["thiserror/std", "log/std", "tracing/std"]
nanvix-unstable = []
[lib]
bench = false
doctest = false