squib-host 0.2.0

macOS host-side primitives for squib (Mach-exception-port pager backing postcopy / lazy-restore)
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.95"
name = "squib-host"
version = "0.2.0"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "macOS host-side primitives for squib (Mach-exception-port pager backing postcopy / lazy-restore)"
homepage = "https://github.com/tyrchen/squib"
documentation = "https://docs.rs/squib-core"
readme = false
keywords = [
    "macos",
    "mach",
    "hvf",
    "postcopy",
    "snapshot",
]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/tyrchen/squib"

[features]
default = []
pager-live-mach = ["dep:mach2"]

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

[[test]]
name = "lldb_attach"
path = "tests/lldb_attach.rs"

[dependencies.bytes]
version = "1.11"

[dependencies.parking_lot]
version = "0.12"

[dependencies.squib-snapshot]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tempfile]
version = "3.27"

[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.6.0"
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
rust_2024_compatibility = "warn"
unreachable_pub = "warn"
unused_qualifications = "warn"