hyperlight-common 0.16.0

Hyperlight's components common to host and guest.
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-common"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Hyperlight's components common to host and guest.
"""
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 = ["tracing"]
fuzzing = ["dep:arbitrary"]
mem_profile = []
std = [
    "thiserror/std",
    "log/std",
    "tracing/std",
]
trace_guest = []
tracing = ["dep:tracing"]

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

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

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

[dependencies.anyhow]
version = "1.0.102"
default-features = false

[dependencies.arbitrary]
version = "1.4.2"
features = ["derive"]
optional = true

[dependencies.bitflags]
version = "2.13.0"

[dependencies.bytemuck]
version = "1.24"
features = ["derive"]

[dependencies.bytes]
version = "1"
default-features = false

[dependencies.fixedbitset]
version = "0.5.7"
default-features = false

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

[dependencies.log]
version = "0.4.32"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.spin]
version = "0.12.0"

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.tracing-core]
version = "0.1.36"
default-features = false

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.quickcheck]
version = "1.0.3"

[dev-dependencies.rand]
version = "0.10.1"

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

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