boxlite 0.5.11

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.5.11"
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]
default = ["gvproxy-backend"]
gvproxy-backend = ["dep:libgvproxy-sys"]
libslirp-backend = []

[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 = "execution_shutdown"
path = "tests/execution_shutdown.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 = "runtime"
path = "tests/runtime.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.5.11"

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

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

[dependencies.dirs]
version = "5.0"

[dependencies.e2fsprogs-sys]
version = "0.5.11"

[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.5.11"
optional = true

[dependencies.libkrun-sys]
version = "0.5.11"

[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.rusqlite]
version = "0.32"
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.uuid]
version = "1.10"
features = ["v4"]

[dependencies.walkdir]
version = "2.5"

[dependencies.xattr]
version = "1.0"

[dev-dependencies]

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

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

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

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

[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"]