boxlite 0.7.2

Embeddable virtual machine runtime for secure, isolated code execution
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"
name = "boxlite"
version = "0.7.2"
authors = ["Dorian Zheng <https://github.com/dorianzheng>"]
build = "build.rs"
links = "boxlite"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embeddable virtual machine runtime for secure, isolated code execution"
readme = false
keywords = [
    "vm",
    "sandbox",
    "isolation",
    "container",
    "security",
]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/boxlite-ai/boxlite"
resolver = "2"

[package.metadata.docs.rs]
no-default-features = true

[features]
bubblewrap = ["dep:bubblewrap-sys"]
default = [
    "embedded-runtime",
    "krunfw",
    "e2fsprogs",
    "bubblewrap",
]
e2fsprogs = ["dep:e2fsprogs-sys"]
embedded-runtime = []
gvproxy = ["dep:libgvproxy-sys"]
krun = [
    "krunfw",
    "libkrun-sys/krun",
]
krunfw = [
    "dep:libkrun-sys",
    "libkrun-sys/krunfw",
]
libslirp = []
rest = [
    "dep:reqwest",
    "dep:urlencoding",
]

[lib]
name = "boxlite"
crate-type = ["rlib"]
path = "src/lib.rs"

[[bin]]
name = "boxlite-shim"
path = "src/bin/shim/main.rs"

[[example]]
name = "disk_attachment_test"
path = "examples/disk_attachment_test.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.boxlite-shared]
version = "0.7.2"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.dirs]
version = "5.0"

[dependencies.e2fsprogs-sys]
version = "0.7.2"
optional = true

[dependencies.filetime]
version = "0.2"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.inventory]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.libgvproxy-sys]
version = "0.7.2"
optional = true

[dependencies.libkrun-sys]
version = "0.7.2"
optional = true

[dependencies.nanoid]
version = "0.4"

[dependencies.nix]
version = "0.30.1"
features = ["mount"]

[dependencies.oci-client]
version = "0.15"
features = ["rustls-tls"]
default-features = false

[dependencies.oci-spec]
version = "0.8.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.qcow2-rs]
version = "0.1.6"

[dependencies.rand]
version = "0.9.2"

[dependencies.rayon]
version = "1.10"

[dependencies.reflink-copy]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.signal-hook]
version = "0.3"

[dependencies.sysinfo]
version = "0.30"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.8"

[dependencies.term_size]
version = "0.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.37"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "net",
    "time",
    "process",
    "io-util",
    "signal",
]

[dependencies.tokio-stream]
version = "0.1.17"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tonic]
version = "0.12"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "ansi",
]

[dependencies.ulid]
version = "1.1"

[dependencies.urlencoding]
version = "2.1"
optional = true

[dependencies.uuid]
version = "1.10"
features = ["v4"]

[dependencies.walkdir]
version = "2.5"

[dependencies.xattr]
version = "1.0"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.proptest]
version = "1.4"

[build-dependencies.pkg-config]
version = "0.3"

[build-dependencies.regex]
version = "1"

[build-dependencies.sha2]
version = "0.10"

[target.'cfg(target_os = "linux")'.dependencies.bincode]
version = "2.0"

[target.'cfg(target_os = "linux")'.dependencies.bubblewrap-sys]
version = "0.7.2"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.caps]
version = "0.5"

[target.'cfg(target_os = "linux")'.dependencies.displaydoc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.fuse-backend-rs]
version = "0.12"
features = ["fusedev"]

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.4"

[target.'cfg(target_os = "linux")'.build-dependencies.bincode]
version = "2.0"

[target.'cfg(target_os = "linux")'.build-dependencies.seccompiler]
version = "0.4"
features = ["json"]