hyperlight-guest-bin 0.16.0

This crate provides the opinionated bits of the guest library, such as the panic handler, the entry point, the guest logger, the exception handling logic, and third-party code used by our C-API needed to build a native hyperlight-guest binary.
Documentation
# 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-guest-bin"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
This crate provides the opinionated bits of the guest library, such as the panic handler, the entry point, the guest logger, the exception handling logic, 
and third-party code used by our C-API needed to build a native hyperlight-guest binary.
"""
homepage = "https://github.com/hyperlight-dev/hyperlight"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hyperlight-dev/hyperlight"
resolver = "2"

[features]
default = [
    "libc",
    "macros",
]
libc = ["dep:hyperlight-libc"]
macros = [
    "dep:hyperlight-guest-macro",
    "dep:linkme",
]
mem_profile = ["hyperlight-common/mem_profile"]
trace_guest = [
    "hyperlight-common/trace_guest",
    "hyperlight-guest/trace_guest",
    "hyperlight-guest-tracing/trace",
]

[lib]
name = "hyperlight_guest_bin"
path = "src/lib.rs"

[dependencies.buddy_system_allocator]
version = "0.13.0"

[dependencies.flatbuffers]
version = "25.12.19"
default-features = false

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

[dependencies.hyperlight-guest]
version = "0.16.0"
default-features = false

[dependencies.hyperlight-guest-macro]
version = "0.16.0"
optional = true
default-features = false

[dependencies.hyperlight-guest-tracing]
version = "0.16.0"
default-features = false

[dependencies.hyperlight-libc]
version = "0.16.0"
optional = true
default-features = false

[dependencies.linkme]
version = "0.3.36"
optional = true

[dependencies.log]
version = "0.4"
default-features = false

[dependencies.spin]
version = "0.12.0"

[dependencies.tracing]
version = "0.1.44"
features = ["attributes"]
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]