[package]
edition = "2024"
rust-version = "1.95"
name = "squib-snapshot"
version = "0.2.0"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Squib snapshot subsystem: bitcode state file, sparse memory file, dirty-page tracking"
homepage = "https://github.com/tyrchen/squib"
documentation = "https://docs.rs/squib-core"
readme = false
keywords = [
"snapshot",
"firecracker",
"microvm",
"hvf",
"aarch64",
]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/tyrchen/squib"
[features]
bench = ["dep:criterion"]
default = []
[lib]
name = "squib_snapshot"
path = "src/lib.rs"
[[example]]
name = "produce_demo_pair"
path = "examples/produce_demo_pair.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "dirty_bitmap"
path = "benches/dirty_bitmap.rs"
harness = false
required-features = ["bench"]
[dependencies.bitcode]
version = "0.6"
features = ["serde"]
[dependencies.crc64]
version = "2"
[dependencies.criterion]
version = "0.8"
features = ["html_reports"]
optional = true
default-features = false
[dependencies.parking_lot]
version = "0.12"
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.squib-arch]
version = "0.2.0"
[dependencies.squib-core]
version = "0.2.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.tempfile]
version = "3.27"
[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"